public abstract class UnsynchronizedAppenderBase<E> extends ContextAwareBaseimplements Appender <E>
| Modifier and Type | Field and Description |
|---|---|
protected String |
name
Appenders are named.
|
protected boolean |
started
|
context| Constructor and Description |
|---|
UnsynchronizedAppenderBase()
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFilter(Filter
Add a filter.
|
protected abstract void |
append(E eventObject)
|
void |
clearAllFilters()
|
void |
doAppend(E eventObject)
This is where an appender accomplishes its work.
|
List |
getCopyOfAttachedFiltersList()
Get a copy of all the filters contained within this FilterAttachable object.
|
FilterReply |
getFilterChainDecision(E event)
Loop through the filters in the chain.
|
String |
getName()
Get the name of this appender.
|
boolean |
isStarted()
|
void |
setName(String
Set the name of this appender.
|
void |
start()
|
void |
stop()
|
String |
toString()
|
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContextprotected boolean started
protected Stringname
public StringgetName()
Appender
public void doAppend(E eventObject)
Appender
protected abstract void append(E eventObject)
public void setName(Stringname)
public void start()
public void stop()
public boolean isStarted()
public StringtoString()
public void addFilter(Filter<E> newFilter)
FilterAttachable
public void clearAllFilters()
public List<Filter <E>> getCopyOfAttachedFiltersList()
FilterAttachable
getCopyOfAttachedFiltersList in interface
FilterAttachable<E>
public FilterReplygetFilterChainDecision(E event)
FilterAttachable