Module ch.qos.logback.classic
Class ConfigurationModelHandler
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.ModelHandlerBase
ch.qos.logback.classic.model.processor.ConfigurationModelHandler
- All Implemented Interfaces:
ContextAware
- Direct Known Subclasses:
ConfigurationModelHandlerFull
In 1.3.9/1.49, ConfigurationModelHandler has been reduced in functionality and no
longer initiates a reconfiguration task. This change was justified by the need
to remove java.xml reachability. See also LOGBACK-1717.
See ConfigurationModelHandlerFull
subclass offering configuration
reloading support.
-
Field Summary
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Class
<ConfigurationModel> Subclasses should return the subclass of Model that they expect to handle.void
handle
(ModelInterpretationContext mic, Model model) static ModelHandlerBase
makeInstance
(Context context, ModelInterpretationContext mic) void
postHandle
(ModelInterpretationContext mic, Model model) protected void
postProcessScanAttrib
(ModelInterpretationContext mic, ConfigurationModel configurationModel) protected void
processScanAttrib
(ModelInterpretationContext mic, ConfigurationModel configurationModel) Methods inherited from class ch.qos.logback.core.model.processor.ModelHandlerBase
isSupportedModelType, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
ConfigurationModelHandler
-
-
Method Details
-
makeInstance
-
getSupportedModelClass
Description copied from class:ModelHandlerBase
Subclasses should return the subclass of Model that they expect to handle. The default implementation assumes that all Model classes are supported. This a very lax assumption which is usually not true.- Overrides:
getSupportedModelClass
in classModelHandlerBase
- Returns:
- supported model class
- See Also:
-
handle
- Specified by:
handle
in classModelHandlerBase
-
processScanAttrib
protected void processScanAttrib(ModelInterpretationContext mic, ConfigurationModel configurationModel) -
postProcessScanAttrib
protected void postProcessScanAttrib(ModelInterpretationContext mic, ConfigurationModel configurationModel) -
postHandle
- Overrides:
postHandle
in classModelHandlerBase
- Throws:
ModelHandlerException
-