Package ch.qos.logback.core.joran
Class JoranConfiguratorBase<E>
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.GenericConfigurator
-
- ch.qos.logback.core.joran.JoranConfiguratorBase<E>
-
- All Implemented Interfaces:
ContextAware
- Direct Known Subclasses:
JoranConfigurator,JoranConfigurator
public abstract class JoranConfiguratorBase<E> extends GenericConfigurator
A JoranConfiguratorBase lays most of the groundwork for concrete configurators derived from it. Concrete configurators only need to implement theaddInstanceRules(ch.qos.logback.core.joran.spi.RuleStore)method.A JoranConfiguratorBase instance should not be used more than once to configure a Context.
- Author:
- Ceki Gülcü
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.joran.GenericConfigurator
interpreter
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description JoranConfiguratorBase()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddImplicitRules(Interpreter interpreter)protected voidaddInstanceRules(RuleStore rs)protected voidbuildInterpreter()InterpretationContextgetInterpretationContext()-
Methods inherited from class ch.qos.logback.core.joran.GenericConfigurator
addDefaultNestedComponentRegistryRules, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, getBeanDescriptionCache, informContextOfURLUsedForConfiguration, initialElementPath, recallSafeConfiguration, registerSafeConfiguration
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Method Detail
-
addInstanceRules
protected void addInstanceRules(RuleStore rs)
- Specified by:
addInstanceRulesin classGenericConfigurator
-
addImplicitRules
protected void addImplicitRules(Interpreter interpreter)
- Specified by:
addImplicitRulesin classGenericConfigurator
-
buildInterpreter
protected void buildInterpreter()
- Overrides:
buildInterpreterin classGenericConfigurator
-
getInterpretationContext
public InterpretationContext getInterpretationContext()
-
-