org.apache.logging.log4j.core.config
Class XMLConfiguration
java.lang.Object
org.apache.logging.log4j.core.filter.AbstractFilterable
org.apache.logging.log4j.core.config.BaseConfiguration
org.apache.logging.log4j.core.config.XMLConfiguration
- All Implemented Interfaces:
- Configuration, Reconfigurable, Filterable
public class XMLConfiguration
- extends BaseConfiguration
- implements Reconfigurable
Creates a Node hierarchy from an XML file.
Methods inherited from class org.apache.logging.log4j.core.config.BaseConfiguration |
addAppender, addComponent, addListener, addLogger, addLoggerAppender, addLoggerFilter, createConfiguration, doConfigure, getAdvertiser, getAppender, getAppenders, getComponent, getConfigurationMonitor, getLogger, getLoggerConfig, getLoggers, getName, getPluginManager, getProperties, getRootLogger, getSubst, removeAppender, removeListener, removeLogger, setAdvertiser, setConfigurationMonitor, setLoggerAdditive, setName, start |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLConfiguration
public XMLConfiguration(ConfigurationFactory.ConfigurationSource configSource)
stop
public void stop()
- Description copied from class:
BaseConfiguration
- Tear down the configuration.
- Specified by:
stop
in interface Configuration
- Overrides:
stop
in class BaseConfiguration
setup
public void setup()
- Overrides:
setup
in class BaseConfiguration
reconfigure
public Configuration reconfigure()
- Specified by:
reconfigure
in interface Reconfigurable
Copyright © 1999-2013 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.