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, optionalFields inherited from class ch.qos.logback.core.spi.ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetachedHandle(ContextAwarePropertyContainer capc, Model model) Used byhandle(ModelInterpretationContext, Model)as well as logback-tyler.protected InputStreamgetInputStream(ContextAwarePropertyContainer capc, ResourceModel resourceModel) voidhandle(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, warnIfRequiredMethods inherited from class ch.qos.logback.core.model.processor.ModelHandlerBase
getSupportedModelClass, isSupportedModelType, postHandle, toStringMethods 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:
handlein 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 fromModelInterpretationContexttoContextAwarePropertyContainer.- Parameters:
capc-model-- Throws:
ModelHandlerException- Since:
- 1.5.10
-
getInputStream
protected InputStream getInputStream(ContextAwarePropertyContainer capc, ResourceModel resourceModel)
-