Package ch.qos.logback.core.spi
Class ContextAwareBase
- java.lang.Object
 - 
- ch.qos.logback.core.spi.ContextAwareBase
 
 
- 
- All Implemented Interfaces:
 ContextAware
- Direct Known Subclasses:
 AbstractDiscriminator,Action,AppenderBase,BasicConfigurator,BeanDescriptionCache,BeanDescriptionFactory,Compressor,ConcurrentServerRunner,ConfigurationWatchList,ContextUtil,EncoderBase,EventEvaluatorBase,FileNamePattern,FileUtil,Filter,GenericConfigurator,InterpretationContext,InterruptUtil,JMXConfigurator,LayoutBase,LevelChangePropagator,LoggerContextAwareBase,Matcher,OnPrintStreamStatusListenerBase,Parser,PropertyDefinerBase,PropertyEvalScriptBuilder,PropertySetter,ReceiverBase,ReconfigureOnChangeTask,RenameUtil,RollingPolicyBase,ShutdownHookBase,SimpleRuleStore,SSLParametersConfiguration,StaxEventRecorder,TimeBasedArchiveRemover,TimeBasedFileNamingAndTriggeringPolicyBase,TriggeringPolicyBase,TurboFilter,UnsynchronizedAppenderBase
@Deprecated(since="2022-01-27") public class ContextAwareBase extends java.lang.Object implements ContextAware
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.A helper class that implements ContextAware methods. A class can implement the ContextAware interface by deriving from this class. 
- 
- 
Constructor Summary
Constructors Constructor Description ContextAwareBase()Deprecated.ContextAwareBase(ContextAware declaredOrigin)Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidaddError(java.lang.String msg)Deprecated.voidaddError(java.lang.String msg, java.lang.Throwable ex)Deprecated.voidaddInfo(java.lang.String msg)Deprecated.voidaddInfo(java.lang.String msg, java.lang.Throwable ex)Deprecated.voidaddStatus(Status status)Deprecated.voidaddWarn(java.lang.String msg)Deprecated.voidaddWarn(java.lang.String msg, java.lang.Throwable ex)Deprecated.ContextgetContext()Deprecated.StatusManagergetStatusManager()Deprecated.voidsetContext(Context context)Deprecated. 
 - 
 
- 
- 
Constructor Detail
- 
ContextAwareBase
public ContextAwareBase()
Deprecated. 
- 
ContextAwareBase
public ContextAwareBase(ContextAware declaredOrigin)
Deprecated. 
 - 
 
- 
Method Detail
- 
setContext
public void setContext(Context context)
Deprecated.- Specified by:
 setContextin interfaceContextAware
 
- 
getContext
public Context getContext()
Deprecated.- Specified by:
 getContextin interfaceContextAware
 
- 
getStatusManager
public StatusManager getStatusManager()
Deprecated. 
- 
addStatus
public void addStatus(Status status)
Deprecated.- Specified by:
 addStatusin interfaceContextAware
 
- 
addInfo
public void addInfo(java.lang.String msg)
Deprecated.- Specified by:
 addInfoin interfaceContextAware
 
- 
addInfo
public void addInfo(java.lang.String msg, java.lang.Throwable ex)Deprecated.- Specified by:
 addInfoin interfaceContextAware
 
- 
addWarn
public void addWarn(java.lang.String msg)
Deprecated.- Specified by:
 addWarnin interfaceContextAware
 
- 
addWarn
public void addWarn(java.lang.String msg, java.lang.Throwable ex)Deprecated.- Specified by:
 addWarnin interfaceContextAware
 
- 
addError
public void addError(java.lang.String msg)
Deprecated.- Specified by:
 addErrorin interfaceContextAware
 
- 
addError
public void addError(java.lang.String msg, java.lang.Throwable ex)Deprecated.- Specified by:
 addErrorin interfaceContextAware
 
 - 
 
 -