|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.qos.logback.core.ContextBase
ch.qos.logback.access.spi.AccessContext
public class AccessContext
A minimal context implementation used by certain logback-access components, mainly SocketServer.
| Constructor Summary | |
|---|---|
AccessContext()
|
|
| Method Summary | |
|---|---|
void |
addAppender(Appender<IAccessEvent> newAppender)
Add an appender. |
void |
addFilter(Filter<IAccessEvent> newFilter)
Add a filter. |
void |
callAppenders(IAccessEvent event)
|
void |
clearAllFilters()
|
void |
detachAndStopAllAppenders()
Detach and stop all previously added appenders. |
boolean |
detachAppender(Appender<IAccessEvent> appender)
Detach the appender passed as parameter from the list of appenders. |
boolean |
detachAppender(String name)
Detach the appender with the name passed as parameter from the list of appenders. |
Appender<IAccessEvent> |
getAppender(String name)
Get an appender by name. |
List<Filter<IAccessEvent>> |
getCopyOfAttachedFiltersList()
Get a copy of all the filters contained within this FilterAttachable object. |
FilterReply |
getFilterChainDecision(IAccessEvent event)
Loop through the filters in the chain. |
boolean |
isAttached(Appender<IAccessEvent> appender)
Returns true if the specified appender is in list of
attached attached, false otherwise. |
Iterator<Appender<IAccessEvent>> |
iteratorForAppenders()
Get an iterator for appenders contained in the parent object. |
| Methods inherited from class ch.qos.logback.core.ContextBase |
|---|
getBirthTime, getConfigurationLock, getCopyOfPropertyMap, getExecutorService, getName, getObject, getProperty, getStatusManager, putObject, putProperty, reset, setName, setStatusManager |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AccessContext()
| Method Detail |
|---|
public void callAppenders(IAccessEvent event)
public void addAppender(Appender<IAccessEvent> newAppender)
AppenderAttachable
addAppender in interface AppenderAttachable<IAccessEvent>public void detachAndStopAllAppenders()
AppenderAttachable
detachAndStopAllAppenders in interface AppenderAttachable<IAccessEvent>public boolean detachAppender(Appender<IAccessEvent> appender)
AppenderAttachable
detachAppender in interface AppenderAttachable<IAccessEvent>public boolean detachAppender(String name)
AppenderAttachable
detachAppender in interface AppenderAttachable<IAccessEvent>public Appender<IAccessEvent> getAppender(String name)
AppenderAttachable
getAppender in interface AppenderAttachable<IAccessEvent>public boolean isAttached(Appender<IAccessEvent> appender)
AppenderAttachabletrue if the specified appender is in list of
attached attached, false otherwise.
isAttached in interface AppenderAttachable<IAccessEvent>public Iterator<Appender<IAccessEvent>> iteratorForAppenders()
AppenderAttachable
iteratorForAppenders in interface AppenderAttachable<IAccessEvent>public void addFilter(Filter<IAccessEvent> newFilter)
FilterAttachable
addFilter in interface FilterAttachable<IAccessEvent>public void clearAllFilters()
clearAllFilters in interface FilterAttachable<IAccessEvent>public List<Filter<IAccessEvent>> getCopyOfAttachedFiltersList()
FilterAttachable
getCopyOfAttachedFiltersList in interface FilterAttachable<IAccessEvent>public FilterReply getFilterChainDecision(IAccessEvent event)
FilterAttachable
getFilterChainDecision in interface FilterAttachable<IAccessEvent>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||