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, saxEventInterpreterFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected voidaddModelHandlerAssociations(DefaultProcessor defaultProcessor) voidprotected voidperformCheck(SanityChecker sc, Model model) protected voidsanityCheck(Model topModel) Perform sanity check and issue warning if necessary.protected voidsetImplicitRuleSupplier(SaxEventInterpreter interpreter) Methods inherited from class ch.qos.logback.core.joran.GenericXMLConfigurator
addDefaultNestedComponentRegistryRules, buildModelFromSaxEventList, buildSaxEventInterpreter, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, doConfigure, getModelInterpretationContext, getRuleStore, informContextOfURLUsedForConfiguration, initialElementPath, populateSaxEventRecorder, processModel, recallSafeConfiguration, registerSafeConfigurationMethods 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:
addElementSelectorAndActionAssociationsin classGenericXMLConfigurator
-
sanityCheck
Perform sanity check and issue warning if necessary.- Overrides:
sanityCheckin classGenericXMLConfigurator- Parameters:
topModel-
-
performCheck
-
setImplicitRuleSupplier
- Specified by:
setImplicitRuleSupplierin classGenericXMLConfigurator
-
buildModelInterpretationContext
- Overrides:
buildModelInterpretationContextin classGenericXMLConfigurator
-
getInterpretationContext
-
addModelHandlerAssociations
- Overrides:
addModelHandlerAssociationsin classGenericXMLConfigurator
-