public class BuiltConfiguration extends AbstractConfiguration
LifeCycle.State
Modifier and Type | Field and Description |
---|---|
protected Component |
rootComponent |
isShutdownHookEnabled, listeners, pluginManager, pluginPackages, rootNode, scriptManager
LOGGER
CONTEXT_PROPERTIES
Constructor and Description |
---|
BuiltConfiguration(ConfigurationSource source,
Component rootComponent) |
Modifier and Type | Method and Description |
---|---|
protected Node |
convertToNode(Node parent,
Component component) |
void |
createAdvertiser(String advertiserString,
ConfigurationSource configSource) |
String |
getContentType() |
PluginManager |
getPluginManager() |
StatusConfiguration |
getStatusConfiguration() |
void |
setContentType(String contentType) |
void |
setMonitorInterval(int intervalSeconds) |
void |
setPluginPackages(String packages) |
void |
setShutdownHook(String flag) |
void |
setup() |
addAppender, addComponent, addListener, addLogger, addLoggerAppender, addLoggerFilter, createAdvertiser, createConfiguration, doConfigure, getAdvertiser, getAppender, getAppenders, getAsyncLoggerConfigDelegate, getComponent, getConfigurationSource, getCustomLevels, getDefaultStatus, getLogger, getLoggerConfig, getLoggers, getName, getNanoClock, getPluginPackages, getProperties, getReliabilityStrategy, getRootLogger, getRootNode, getScheduler, getScriptManager, getStrSubstitutor, getWatchManager, initialize, isShutdownHookEnabled, preConfigure, removeAppender, removeListener, removeLogger, setAdvertiser, setLoggerAdditive, setName, setNanoClock, setPluginManager, setScriptManager, setToDefault, start, stop, toByteArray
addFilter, getFilter, hasFilter, isFiltered, removeFilter
equalsImpl, getState, hashCodeImpl, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFilter, getFilter, hasFilter, isFiltered, removeFilter
protected Component rootComponent
public BuiltConfiguration(ConfigurationSource source, Component rootComponent)
public void setup()
setup
in class AbstractConfiguration
public String getContentType()
public void setContentType(String contentType)
public void createAdvertiser(String advertiserString, ConfigurationSource configSource)
public StatusConfiguration getStatusConfiguration()
public void setPluginPackages(String packages)
public void setShutdownHook(String flag)
public void setMonitorInterval(int intervalSeconds)
public PluginManager getPluginManager()
getPluginManager
in class AbstractConfiguration
protected Node convertToNode(Node parent, Component component)
Copyright © 1999-2016 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.