|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.log.output.AbstractTarget
org.apache.log.output.AbstractWrappingTarget
public abstract class AbstractWrappingTarget
Abstract base class for targets that wrap other targets. The class
provides functionality for optionally closing a wrapped target that
implements org.apache.log.util.Closeable.
Closeable| Constructor Summary | |
|---|---|
AbstractWrappingTarget(LogTarget logTarget)
Creation of a new wrapping log target. |
|
AbstractWrappingTarget(LogTarget logTarget,
boolean closeWrappedTarget)
Creation of a new wrapping log target. |
|
| Method Summary | |
|---|---|
void |
close()
Shutdown target. |
| Methods inherited from class org.apache.log.output.AbstractTarget |
|---|
doProcessEvent, error, getErrorHandler, isOpen, open, processEvent, setErrorHandler |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractWrappingTarget(LogTarget logTarget,
boolean closeWrappedTarget)
logTarget - the underlying targetcloseWrappedTarget - boolean flag indicating whether the wrapped log target
should be closed when this target is closed. Note: This flag has no
effect unless the underlying target implements org.apache.log.util.Closeable.Closeablepublic AbstractWrappingTarget(LogTarget logTarget)
logTarget - the underlying target| Method Detail |
|---|
public void close()
AbstractTarget
close in interface Closeableclose in class AbstractTarget
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||