Interface ConfiguratorFactory

All Known Implementing Classes:
DefaultConfiguratorFactory

public interface ConfiguratorFactory
Used to create a LogContextConfigurator. The priority is used to determine which factory should be used. The lowest priority factory is used. If two factories have the same priority the second factory will not be used. The order of loading the factories for determining priority is done via the ServiceLoader.load(Class, ClassLoader).
Author:
James R. Perkins
  • Method Details

    • create

      Returns:
      the log context configurator
    • priority

      int priority()
      The priority for the factory which is used to determine which factory should be used to create a LogContextConfigurator. The lowest priority factory will be used.
      Returns:
      the priority for this factory