org.apache.log4j.lf5
public class: AppenderFinalizer [javadoc |
source]
java.lang.Object
org.apache.log4j.lf5.AppenderFinalizer
AppenderFinalizer has a single method that will finalize
resources associated with a
LogBrokerMonitor in the event
that the
LF5Appender class is destroyed, and the class loader
is garbage collected.
| Field Summary |
|---|
| protected LogBrokerMonitor | _defaultMonitor | |
| Constructor: |
public AppenderFinalizer(LogBrokerMonitor defaultMonitor) {
//--------------------------------------------------------------------------
// Private Variables:
//--------------------------------------------------------------------------
//--------------------------------------------------------------------------
// Constructors:
//--------------------------------------------------------------------------
_defaultMonitor = defaultMonitor;
}
|
| Method from org.apache.log4j.lf5.AppenderFinalizer Summary: |
|---|
|
finalize |
| Method from org.apache.log4j.lf5.AppenderFinalizer Detail: |
protected void finalize() throws Throwable {
System.out.println("Disposing of the default LogBrokerMonitor instance");
_defaultMonitor.dispose();
}
|