public interface Configuration extends Filterable
LifeCycle.State
Modifier and Type | Field and Description |
---|---|
static String |
CONTEXT_PROPERTIES
Key for storing the Context properties.
|
addFilter, getFilter, hasFilter, isFiltered, removeFilter
static final String CONTEXT_PROPERTIES
String getName()
LoggerConfig getLoggerConfig(String name)
name
- The Logger name.Appender getAppender(String name)
name
- The name of the Appender.Map<String,Appender> getAppenders()
void addAppender(Appender appender)
Map<String,LoggerConfig> getLoggers()
void setLoggerAdditive(Logger logger, boolean additive)
void addLogger(String name, LoggerConfig loggerConfig)
void removeLogger(String name)
void addListener(ConfigurationListener listener)
void removeListener(ConfigurationListener listener)
StrSubstitutor getStrSubstitutor()
<T> T getComponent(String name)
void setConfigurationMonitor(ConfigurationMonitor monitor)
ConfigurationMonitor getConfigurationMonitor()
void setAdvertiser(Advertiser advertiser)
Advertiser getAdvertiser()
boolean isShutdownHookEnabled()
ConfigurationSource getConfigurationSource()
Copyright © 1999-2015 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.