Uses of Interface
org.apache.logging.log4j.core.util.ShutdownCallbackRegistry
-
Packages that use ShutdownCallbackRegistry Package Description org.apache.logging.log4j.core.impl Log4j 2 private implementation classes.org.apache.logging.log4j.core.util Log4j 2 helper classes. -
-
Uses of ShutdownCallbackRegistry in org.apache.logging.log4j.core.impl
Classes in org.apache.logging.log4j.core.impl that implement ShutdownCallbackRegistry Modifier and Type Class Description class
Log4jContextFactory
Factory to locate a ContextSelector and then load a LoggerContext.Methods in org.apache.logging.log4j.core.impl that return ShutdownCallbackRegistry Modifier and Type Method Description ShutdownCallbackRegistry
Log4jContextFactory. getShutdownCallbackRegistry()
Returns the ShutdownCallbackRegistryConstructors in org.apache.logging.log4j.core.impl with parameters of type ShutdownCallbackRegistry Constructor Description Log4jContextFactory(ContextSelector selector, ShutdownCallbackRegistry shutdownCallbackRegistry)
Constructs a Log4jContextFactory using the provided ContextSelector and ShutdownRegistrationStrategy.Log4jContextFactory(ShutdownCallbackRegistry shutdownCallbackRegistry)
Constructs a Log4jContextFactory using the ContextSelector fromConstants.LOG4J_CONTEXT_SELECTOR
and the provided ShutdownRegistrationStrategy. -
Uses of ShutdownCallbackRegistry in org.apache.logging.log4j.core.util
Classes in org.apache.logging.log4j.core.util that implement ShutdownCallbackRegistry Modifier and Type Class Description class
DefaultShutdownCallbackRegistry
ShutdownRegistrationStrategy that simply usesRuntime.addShutdownHook(Thread)
.
-