public class BuiltConfiguration extends AbstractConfiguration
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>LifeCycle.State| Modifier and Type | Field and Description |
|---|---|
protected Component |
rootComponent |
isShutdownHookEnabled, listeners, pluginManager, pluginPackages, rootNode, scriptManager, shutdownTimeoutMillisDEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGERCONTEXT_PROPERTIES| Constructor and Description |
|---|
BuiltConfiguration(LoggerContext loggerContext,
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 |
setShutdownTimeoutMillis(long shutdownTimeoutMillis) |
void |
setup() |
addAppender, addComponent, addListener, addLogger, addLoggerAppender, addLoggerFilter, createAdvertiser, createConfiguration, doConfigure, getAdvertiser, getAppender, getAppenders, getAsyncLoggerConfigDelegate, getComponent, getConfigurationSource, getConfigurationStrSubstitutor, getCustomLevels, getDefaultStatus, getLogger, getLoggerConfig, getLoggerContext, getLoggers, getName, getNanoClock, getPluginPackages, getProperties, getReliabilityStrategy, getRootLogger, getRootNode, getScheduler, getScriptManager, getShutdownTimeoutMillis, getStrSubstitutor, getWatchManager, initialize, initializeWatchers, isShutdownHookEnabled, preConfigure, removeAppender, removeListener, removeLogger, setAdvertiser, setLoggerAdditive, setName, setNanoClock, setPluginManager, setScriptManager, setToDefault, start, stop, toByteArrayaddFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stopequalsImpl, getState, getStatusLogger, hashCodeImpl, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFilter, getFilter, hasFilter, isFiltered, removeFilterprotected Component rootComponent
public BuiltConfiguration(LoggerContext loggerContext, ConfigurationSource source, Component rootComponent)
public void setup()
setup in class AbstractConfigurationpublic 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 setShutdownTimeoutMillis(long shutdownTimeoutMillis)
public void setMonitorInterval(int intervalSeconds)
public PluginManager getPluginManager()
getPluginManager in class AbstractConfigurationCopyright © 1999-2021 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.