Class ReceiversTreeModel

java.lang.Object
javax.swing.tree.DefaultTreeModel
org.apache.log4j.chainsaw.receivers.ReceiversTreeModel
All Implemented Interfaces:
Serializable, EventListener, TreeModel, PluginListener

public class ReceiversTreeModel extends DefaultTreeModel implements PluginListener
A TreeModel that encapsulates the details of all the Receivers and their related information in the Log4j framework
Author:
Paul Smith <psmith@apache.org>
See Also:
  • Method Details

    • refresh

      public final ReceiversTreeModel refresh()
      Creates a new ReceiversTreeModel by querying the Log4j Plugin Repository and building up the required information.
      Returns:
      ReceiversTreeModel
    • pluginStarted

      public void pluginStarted(PluginEvent e)
      Description copied from interface: PluginListener
      Notification that plugin has started.
      Specified by:
      pluginStarted in interface PluginListener
      Parameters:
      e - event
    • pluginStopped

      public void pluginStopped(PluginEvent e)
      Description copied from interface: PluginListener
      Notification that plugin has stopped.
      Specified by:
      pluginStopped in interface PluginListener
      Parameters:
      e - event