Class AppenderFinalizer


  • public class AppenderFinalizer
    extends java.lang.Object
    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.
    Author:
    Brent Sprecher
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected org.apache.log4j.lf5.viewer.LogBrokerMonitor _defaultMonitor  
    • Constructor Summary

      Constructors 
      Constructor Description
      AppenderFinalizer​(org.apache.log4j.lf5.viewer.LogBrokerMonitor defaultMonitor)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void finalize()  
      • Methods inherited from class java.lang.Object

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • _defaultMonitor

        protected org.apache.log4j.lf5.viewer.LogBrokerMonitor _defaultMonitor
    • Constructor Detail

      • AppenderFinalizer

        public AppenderFinalizer​(org.apache.log4j.lf5.viewer.LogBrokerMonitor defaultMonitor)
    • Method Detail

      • finalize

        protected void finalize()
                         throws java.lang.Throwable
        Overrides:
        finalize in class java.lang.Object
        Throws:
        java.lang.Throwable