Module ch.qos.logback.core
Class RefContainerDependencyAnalyser
- java.lang.Object
-
- ch.qos.logback.core.spi.ContextAwareBase
-
- ch.qos.logback.core.model.processor.ModelHandlerBase
-
- ch.qos.logback.core.model.processor.RefContainerDependencyAnalyser
-
- All Implemented Interfaces:
ContextAware
public class RefContainerDependencyAnalyser extends ModelHandlerBase
RefContainerDependencyAnalyser pushes relevant models into the modelStack of ModelInterpretationContext.
Relevant models are LoggerModel, RootLoggerModel and AppenderModel as defined in
ModelClassToModelHandlerLinkerBase.link(ch.qos.logback.core.model.processor.DefaultProcessor)method.This class could have been called RefContainerDependencyAnalysisHelper.
- Author:
- Ceki Gülcü
-
-
Field Summary
-
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
-
Constructor Summary
Constructors Constructor Description RefContainerDependencyAnalyser(Context context, Class<?> modelClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(ModelInterpretationContext mic, Model model)protected booleanisSupportedModelType(Model model)voidpostHandle(ModelInterpretationContext mic, Model model)-
Methods inherited from class ch.qos.logback.core.model.processor.ModelHandlerBase
getSupportedModelClass, toString
-
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
-
-
-
Constructor Detail
-
RefContainerDependencyAnalyser
public RefContainerDependencyAnalyser(Context context, Class<?> modelClass)
-
-
Method Detail
-
isSupportedModelType
protected boolean isSupportedModelType(Model model)
- Overrides:
isSupportedModelTypein classModelHandlerBase
-
handle
public void handle(ModelInterpretationContext mic, Model model) throws ModelHandlerException
- Specified by:
handlein classModelHandlerBase- Throws:
ModelHandlerException
-
postHandle
public void postHandle(ModelInterpretationContext mic, Model model) throws ModelHandlerException
- Overrides:
postHandlein classModelHandlerBase- Throws:
ModelHandlerException
-
-