Module ch.qos.logback.classic
Class PropertiesConfiguratorModelHandler
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.ModelHandlerBase
ch.qos.logback.core.model.processor.ResourceHandlerBase
ch.qos.logback.classic.model.processor.PropertiesConfiguratorModelHandler
- All Implemented Interfaces:
ContextAware
-
Field Summary
Fields inherited from class ch.qos.logback.core.model.processor.ResourceHandlerBase
attributeInUse, optional
Fields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
detachedHandle
(ContextAwarePropertyContainer capc, Model model) Used byhandle(ModelInterpretationContext, Model)
as well as logback-tyler.protected InputStream
getInputStream
(ContextAwarePropertyContainer capc, ResourceModel resourceModel) void
handle
(ModelInterpretationContext mic, Model model) makeInstance
(Context context, ModelInterpretationContext mic) Methods inherited from class ch.qos.logback.core.model.processor.ResourceHandlerBase
attributeToURL, checkAttributes, filePathAsURL, getAttribureInUse, getInputURL, openURL, resourceAsURL, warnIfRequired
Methods inherited from class ch.qos.logback.core.model.processor.ModelHandlerBase
getSupportedModelClass, isSupportedModelType, postHandle, toString
Methods inherited from class ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Constructor Details
-
PropertiesConfiguratorModelHandler
-
-
Method Details
-
makeInstance
public static PropertiesConfiguratorModelHandler makeInstance(Context context, ModelInterpretationContext mic) -
handle
- Specified by:
handle
in classModelHandlerBase
- Throws:
ModelHandlerException
-
detachedHandle
public void detachedHandle(ContextAwarePropertyContainer capc, Model model) throws ModelHandlerException Used byhandle(ModelInterpretationContext, Model)
as well as logback-tyler. Note the widening of the base fromModelInterpretationContext
toContextAwarePropertyContainer
.- Parameters:
capc
-model
-- Throws:
ModelHandlerException
- Since:
- 1.5.10
-
getInputStream
protected InputStream getInputStream(ContextAwarePropertyContainer capc, ResourceModel resourceModel)
-