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 https://jira.qos.ch/browse/LOGBACK-1717
See ConfigurationModelHandlerFull subclass offering configuration
reloading support.
-
Field Summary
FieldsFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Class<ConfigurationModel> Subclasses should return the subclass of Model that they expect to handle.voidhandle(ModelInterpretationContext mic, Model model) static ModelHandlerBasemakeInstance(Context context, ModelInterpretationContext mic) voidpostHandle(ModelInterpretationContext mic, Model model) Methods inherited from class ModelHandlerBase
isSupportedModelType, toStringMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
scanning
-
-
Constructor Details
-
ConfigurationModelHandler
-
-
Method Details
-
makeInstance
-
getSupportedModelClass
Description copied from class:ModelHandlerBaseSubclasses 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:
getSupportedModelClassin classModelHandlerBase- Returns:
- supported model class
- See Also:
-
handle
- Specified by:
handlein classModelHandlerBase
-
postHandle
- Overrides:
postHandlein classModelHandlerBase- Throws:
ModelHandlerException
-