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 ResourceHandlerBase
attributeInUse, optionalFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddetachedHandle(ContextAwarePropertyContainer capc, Model model, Boolean topScanBoolean) 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 ResourceHandlerBase
attributeToURL, checkAttributes, filePathAsURL, getAttribureInUse, getInputURL, openURL, resourceAsURL, warnIfRequiredMethods inherited from class ModelHandlerBase
getSupportedModelClass, isSupportedModelType, postHandle, toStringMethods inherited from class 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, Boolean topScanBoolean) 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)
-