public class JULLoggerContextFactory extends Object implements LoggerContextFactory
LoggerContextFactory
SPI.
This is a factory to produce the (one and only) JULLoggerContext
instance.Constructor and Description |
---|
JULLoggerContextFactory() |
Modifier and Type | Method and Description |
---|---|
LoggerContext |
getContext(String fqcn,
ClassLoader loader,
Object externalContext,
boolean currentContext) |
LoggerContext |
getContext(String fqcn,
ClassLoader loader,
Object externalContext,
boolean currentContext,
URI configLocation,
String name) |
boolean |
isClassLoaderDependent() |
void |
removeContext(LoggerContext ignored) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasContext, shutdown
public LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext)
getContext
in interface LoggerContextFactory
public LoggerContext getContext(String fqcn, ClassLoader loader, Object externalContext, boolean currentContext, URI configLocation, String name)
getContext
in interface LoggerContextFactory
public void removeContext(LoggerContext ignored)
removeContext
in interface LoggerContextFactory
public boolean isClassLoaderDependent()
isClassLoaderDependent
in interface LoggerContextFactory
Copyright © {inceptionYear}-2022 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.