public abstract class UnsynchronizedAppenderBase<E> extends ContextAwareBase implements Appender<E>
Constructor and Description |
---|
UnsynchronizedAppenderBase() |
Modifier and Type | Method and Description |
---|---|
void |
addFilter(Filter<E> newFilter)
Add a filter.
|
void |
clearAllFilters() |
void |
doAppend(E eventObject)
This is where an appender accomplishes its work.
|
java.util.List<Filter<E>> |
getCopyOfAttachedFiltersList()
Get a copy of all the filters contained within this FilterAttachable
object.
|
FilterReply |
getFilterChainDecision(E event)
Loop through the filters in the chain.
|
java.lang.String |
getName()
Get the name of this appender.
|
boolean |
isStarted() |
void |
setName(java.lang.String name)
Set the name of this appender.
|
void |
start() |
void |
stop() |
java.lang.String |
toString() |
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getStatusManager, setContext
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, setContext
public java.lang.String getName()
Appender
public void doAppend(E eventObject)
Appender
public void setName(java.lang.String name)
public java.lang.String toString()
toString
in class java.lang.Object
public void addFilter(Filter<E> newFilter)
FilterAttachable
addFilter
in interface FilterAttachable<E>
public void clearAllFilters()
clearAllFilters
in interface FilterAttachable<E>
public java.util.List<Filter<E>> getCopyOfAttachedFiltersList()
FilterAttachable
getCopyOfAttachedFiltersList
in interface FilterAttachable<E>
public FilterReply getFilterChainDecision(E event)
FilterAttachable
getFilterChainDecision
in interface FilterAttachable<E>
Copyright © 2010 - 2020 Adobe. All Rights Reserved