public class BuiltConfiguration extends AbstractConfiguration
AbstractFilterable.Builder<B extends AbstractFilterable.Builder<B>>
LifeCycle.State
Modifier and Type | Field and Description |
---|---|
private Component |
appendersComponent |
private java.lang.String |
contentType |
private Component |
customLevelsComponent |
private Component |
filtersComponent |
private Component |
loggersComponent |
private Component |
propertiesComponent |
protected Component |
rootComponent |
private Component |
scriptsComponent |
private StatusConfiguration |
statusConfig |
private static java.lang.String[] |
VERBOSE_CLASSES |
isShutdownHookEnabled, listeners, pluginManager, pluginPackages, rootNode, scriptManager, shutdownTimeoutMillis
DEFAULT_STOP_TIMEOUT, DEFAULT_STOP_TIMEUNIT, LOGGER
CONTEXT_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(java.lang.String advertiserString,
ConfigurationSource configSource) |
java.lang.String |
getContentType() |
PluginManager |
getPluginManager() |
StatusConfiguration |
getStatusConfiguration() |
void |
setContentType(java.lang.String contentType) |
void |
setMonitorInterval(int intervalSeconds) |
void |
setPluginPackages(java.lang.String packages) |
void |
setShutdownHook(java.lang.String flag) |
void |
setShutdownTimeoutMillis(long shutdownTimeoutMillis) |
void |
setup() |
addAppender, addComponent, addListener, addLogger, addLoggerAppender, addLoggerFilter, createAdvertiser, createConfiguration, doConfigure, getAdvertiser, getAppender, getAppenders, getAsyncLoggerConfigDelegate, getComponent, getConfigurationSource, 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, toByteArray
addFilter, getFilter, getPropertyArray, hasFilter, isFiltered, removeFilter, stop
equalsImpl, getState, getStatusLogger, hashCodeImpl, isInitialized, isStarted, isStarting, isStopped, isStopping, setStarted, setStarting, setState, setStopped, setStopping, stop, stop
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addFilter, getFilter, hasFilter, isFiltered, removeFilter
private static final java.lang.String[] VERBOSE_CLASSES
private final StatusConfiguration statusConfig
protected Component rootComponent
private Component loggersComponent
private Component appendersComponent
private Component filtersComponent
private Component propertiesComponent
private Component customLevelsComponent
private Component scriptsComponent
private java.lang.String contentType
public BuiltConfiguration(LoggerContext loggerContext, ConfigurationSource source, Component rootComponent)
public void setup()
setup
in class AbstractConfiguration
public java.lang.String getContentType()
public void setContentType(java.lang.String contentType)
public void createAdvertiser(java.lang.String advertiserString, ConfigurationSource configSource)
public StatusConfiguration getStatusConfiguration()
public void setPluginPackages(java.lang.String packages)
public void setShutdownHook(java.lang.String flag)
public void setShutdownTimeoutMillis(long shutdownTimeoutMillis)
public void setMonitorInterval(int intervalSeconds)
public PluginManager getPluginManager()
getPluginManager
in class AbstractConfiguration