- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.model.processor.ModelHandlerBase
-
- ch.qos.logback.core.model.processor.ImplicitModelHandler
-
- All Implemented Interfaces:
ContextAware
public class ImplicitModelHandler extends ModelHandlerBase
-
-
Field Summary
Fields Modifier and Type Field Description static StringIGNORING_UNKNOWN_PROP-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description ImplicitModelHandler(Context context, BeanDescriptionCache beanDescriptionCache)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoComplex(ModelInterpretationContext interpretationContext, ComponentModel componentModel, ImplicitModelDataForComplexProperty imdForComplexProperty)protected Class<? extends ImplicitModel>getSupportedModelClass()Subclasses should return the subclass of Model that they expect to handle.voidhandle(ModelInterpretationContext mic, Model model)static ImplicitModelHandlermakeInstance(Context context, ModelInterpretationContext mic)voidpostHandle(ModelInterpretationContext intercon, Model model)-
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
-
-
-
-
Field Detail
-
IGNORING_UNKNOWN_PROP
public static final String IGNORING_UNKNOWN_PROP
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ImplicitModelHandler
public ImplicitModelHandler(Context context, BeanDescriptionCache beanDescriptionCache)
-
-
Method Detail
-
getSupportedModelClass
protected Class<? extends ImplicitModel> 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:
ModelHandlerBase.isSupportedModelType(Model)
-
makeInstance
public static ImplicitModelHandler makeInstance(Context context, ModelInterpretationContext mic)
-
handle
public void handle(ModelInterpretationContext mic, Model model)
- Specified by:
handlein classModelHandlerBase
-
doComplex
public void doComplex(ModelInterpretationContext interpretationContext, ComponentModel componentModel, ImplicitModelDataForComplexProperty imdForComplexProperty)
-
postHandle
public void postHandle(ModelInterpretationContext intercon, Model model)
- Overrides:
postHandlein classModelHandlerBase
-
-