Klasse OsgiAppenderRefAction
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.joran.action.Action
ch.qos.logback.core.joran.action.BaseModelAction
org.apache.sling.commons.log.logback.OsgiAppenderRefAction
- Alle implementierten Schnittstellen:
ch.qos.logback.core.spi.ContextAware
@ProviderType
public final class OsgiAppenderRefAction
extends ch.qos.logback.core.joran.action.BaseModelAction
Joran action enabling integration between OSGi and Logback. It is based on
IncludeAction
. It supports including
config fragments provided through OSGi ServiceRegistry
The action class needs to be referred in external files hence adding a
class in public package.
This class is for configuration reference only. Consumers are not intended to instantiate or extend from it.
-
Feldübersicht
Von Klasse geerbte Felder ch.qos.logback.core.joran.action.Action
ACTION_CLASS_ATTRIBUTE, CLASS_ATTRIBUTE, FILE_ATTRIBUTE, KEY_ATTRIBUTE, NAME_ATTRIBUTE, PATTERN_ATTRIBUTE, SCOPE_ATTRIBUTE, VALUE_ATTRIBUTE
Von Klasse geerbte Felder ch.qos.logback.core.spi.ContextAwareBase
context
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected ch.qos.logback.core.model.Model
buildCurrentModel
(@NotNull ch.qos.logback.core.joran.spi.SaxEventInterpretationContext interpretationContext, @NotNull String name, @NotNull Attributes attributes) Build the OsgiAppenderRefModel for the given inputsprotected boolean
validPreconditions
(@NotNull ch.qos.logback.core.joran.spi.SaxEventInterpretationContext interpretationContext, @NotNull String name, @NotNull Attributes attributes) Validate preconditions of this action.Von Klasse geerbte Methoden ch.qos.logback.core.joran.action.BaseModelAction
begin, body, end
Von Klasse geerbte Methoden ch.qos.logback.core.joran.action.Action
atLine, getColumnNumber, getLineColStr, getLineNumber, nearLine, toString
Von Klasse geerbte Methoden ch.qos.logback.core.spi.ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Konstruktordetails
-
OsgiAppenderRefAction
public OsgiAppenderRefAction()
-
-
Methodendetails
-
validPreconditions
protected boolean validPreconditions(@NotNull @NotNull ch.qos.logback.core.joran.spi.SaxEventInterpretationContext interpretationContext, @NotNull @NotNull String name, @NotNull @NotNull Attributes attributes) Validate preconditions of this action.- Setzt außer Kraft:
validPreconditions
in Klassech.qos.logback.core.joran.action.BaseModelAction
- Parameter:
interpretationContext
- the Sax event interpretation contextname
- the element nameattributes
- the attributes for the element- Gibt zurück:
- true if valid, false otherwise
-
buildCurrentModel
protected ch.qos.logback.core.model.Model buildCurrentModel(@NotNull @NotNull ch.qos.logback.core.joran.spi.SaxEventInterpretationContext interpretationContext, @NotNull @NotNull String name, @NotNull @NotNull Attributes attributes) Build the OsgiAppenderRefModel for the given inputs- Angegeben von:
buildCurrentModel
in Klassech.qos.logback.core.joran.action.BaseModelAction
- Parameter:
interpretationContext
- the Sax event interpretation contextname
- the element nameattributes
- the attributes for the element- Gibt zurück:
- the built model
-