Package ch.qos.logback.core.joran
Class JoranConfiguratorBase<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.GenericXMLConfigurator
ch.qos.logback.core.joran.JoranConfiguratorBase<E>
- All Implemented Interfaces:
ContextAware
A JoranConfiguratorBase lays most of the groundwork for concrete
configurators derived from it. Concrete configurators only need to implement
the
addElementSelectorAndActionAssociations(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.GenericXMLConfigurator
modelInterpretationContext, saxEventInterpreter
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
addModelHandlerAssociations
(DefaultProcessor defaultProcessor) void
protected void
performCheck
(SanityChecker sc, Model model) protected void
sanityCheck
(Model topModel) Perform sanity check and issue warning if necessary.protected void
setImplicitRuleSupplier
(SaxEventInterpreter interpreter) Methods inherited from class ch.qos.logback.core.joran.GenericXMLConfigurator
addDefaultNestedComponentRegistryRules, buildModelFromSaxEventList, buildSaxEventInterpreter, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, getModelInterpretationContext, informContextOfURLUsedForConfiguration, initialElementPath, populateSaxEventRecorder, processModel, recallSafeConfiguration, registerSafeConfiguration
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
JoranConfiguratorBase
public JoranConfiguratorBase()
-
-
Method Details
-
addElementSelectorAndActionAssociations
- Specified by:
addElementSelectorAndActionAssociations
in classGenericXMLConfigurator
-
sanityCheck
Perform sanity check and issue warning if necessary.- Overrides:
sanityCheck
in classGenericXMLConfigurator
- Parameters:
topModel
-
-
performCheck
-
setImplicitRuleSupplier
- Specified by:
setImplicitRuleSupplier
in classGenericXMLConfigurator
-
buildModelInterpretationContext
public void buildModelInterpretationContext()- Overrides:
buildModelInterpretationContext
in classGenericXMLConfigurator
-
getInterpretationContext
-
addModelHandlerAssociations
- Overrides:
addModelHandlerAssociations
in classGenericXMLConfigurator
-