Package org.jboss.logmanager
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 Summary
Modifier and TypeMethodDescriptioncreate()Creates theLogContextConfigurator.intpriority()The priority for the factory which is used to determine which factory should be used to create aLogContextConfigurator.
-
Method Details
-
create
LogContextConfigurator create()Creates theLogContextConfigurator.- 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 aLogContextConfigurator. The lowest priority factory will be used.- Returns:
- the priority for this factory
-