Klasse OsgiModelHandler
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.model.processor.ModelHandlerBase
org.apache.sling.commons.log.logback.internal.joran.OsgiModelHandler
- Alle implementierten Schnittstellen:
ch.qos.logback.core.spi.ContextAware
public class OsgiModelHandler
extends ch.qos.logback.core.model.processor.ModelHandlerBase
Handler for the OsgiModel model class
-
Feldübersicht
Von Klasse geerbte Felder ch.qos.logback.core.spi.ContextAwareBase
context
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
handle
(ch.qos.logback.core.model.processor.ModelInterpretationContext mic, ch.qos.logback.core.model.Model model) static OsgiModelHandler
makeInstance
(ch.qos.logback.core.Context context, ch.qos.logback.core.model.processor.ModelInterpretationContext mic) Factory to create an instance of this classVon Klasse geerbte Methoden ch.qos.logback.core.model.processor.ModelHandlerBase
isSupportedModelType, postHandle, toString
Von Klasse geerbte Methoden ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Konstruktordetails
-
OsgiModelHandler
public OsgiModelHandler(ch.qos.logback.core.Context context) Constructor- Parameter:
context
- the logging context
-
-
Methodendetails
-
makeInstance
public static OsgiModelHandler makeInstance(ch.qos.logback.core.Context context, ch.qos.logback.core.model.processor.ModelInterpretationContext mic) Factory to create an instance of this class- Parameter:
context
- the logging contextmic
- the model interpretation context- Gibt zurück:
- a new instance of OsgiModelHandler
-
getSupportedModelClass
- Setzt außer Kraft:
getSupportedModelClass
in Klassech.qos.logback.core.model.processor.ModelHandlerBase
-
handle
public void handle(ch.qos.logback.core.model.processor.ModelInterpretationContext mic, ch.qos.logback.core.model.Model model) throws ch.qos.logback.core.model.processor.ModelHandlerException - Angegeben von:
handle
in Klassech.qos.logback.core.model.processor.ModelHandlerBase
- Löst aus:
ch.qos.logback.core.model.processor.ModelHandlerException
-