- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.joran.GenericXMLConfigurator
-
- ch.qos.logback.core.joran.JoranConfiguratorBase<ILoggingEvent>
-
- ch.qos.logback.classic.joran.JoranConfigurator
-
- All Implemented Interfaces:
ContextAware
public class JoranConfigurator extends JoranConfiguratorBase<ILoggingEvent>
JoranConfigurator class adds rules specific to logback-classic.- Author:
- Ceki Gülcü
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.joran.GenericXMLConfigurator
modelInterpretationContext, saxEventInterpreter
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description JoranConfigurator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)voidaddElementSelectorAndActionAssociations(RuleStore rs)protected voidaddModelHandlerAssociations(DefaultProcessor defaultProcessor)voidbuildModelInterpretationContext()protected voidsanityCheck(Model topModel)Perform sanity check and issue warning if necessary.-
Methods inherited from class ch.qos.logback.core.joran.JoranConfiguratorBase
getInterpretationContext, performCheck, setImplicitRuleSupplier
-
Methods inherited from class ch.qos.logback.core.joran.GenericXMLConfigurator
buildModelFromSaxEventList, buildSaxEventInterpreter, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, getModelInterpretationContext, getRuleStore, getTopURL, informContextOfURLUsedForConfiguration, initialElementPath, populateSaxEventRecorder, processModel, recallSafeConfiguration, registerSafeConfiguration, setTopURL
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
JoranConfigurator
public JoranConfigurator()
-
-
Method Detail
-
addElementSelectorAndActionAssociations
public void addElementSelectorAndActionAssociations(RuleStore rs)
- Overrides:
addElementSelectorAndActionAssociationsin classJoranConfiguratorBase<ILoggingEvent>
-
sanityCheck
protected void sanityCheck(Model topModel)
Description copied from class:JoranConfiguratorBasePerform sanity check and issue warning if necessary.- Overrides:
sanityCheckin classJoranConfiguratorBase<ILoggingEvent>
-
addDefaultNestedComponentRegistryRules
protected void addDefaultNestedComponentRegistryRules(DefaultNestedComponentRegistry registry)
- Overrides:
addDefaultNestedComponentRegistryRulesin classGenericXMLConfigurator
-
buildModelInterpretationContext
public void buildModelInterpretationContext()
- Overrides:
buildModelInterpretationContextin classJoranConfiguratorBase<ILoggingEvent>
-
addModelHandlerAssociations
protected void addModelHandlerAssociations(DefaultProcessor defaultProcessor)
- Overrides:
addModelHandlerAssociationsin classJoranConfiguratorBase<ILoggingEvent>
-
-