Interface ElectionFactoryProvider

All Known Implementing Classes:
NullElectionFactoryProvider

public interface ElectionFactoryProvider
Simple boilerplate for providing an ElectionFactory.
  • Method Details

    • getElectionManager

      ElectionFactory getElectionManager(ConfigurationSource configurationSource) throws ElectionException
      Acquire a new ElectionFactory instance.
      Parameters:
      configurationSource - used to configure the ElectionFactory
      Returns:
      a new ElectionFactory instance
      Throws:
      ElectionException - if the ElectionFactory could not be created