Package org.jboss.logmanager
Interface ConfiguratorFactory
-
- All Known Implementing Classes:
DefaultConfiguratorFactory
public interface ConfiguratorFactory
Used to create aLogContextConfigurator
. 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 theServiceLoader.load(Class, ClassLoader)
.- Author:
- James R. Perkins
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LogContextConfigurator
create()
Creates theLogContextConfigurator
.int
priority()
The priority for the factory which is used to determine which factory should be used to create aLogContextConfigurator
.
-
-
-
Method Detail
-
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
-
-