Class ReceiversHelper

java.lang.Object
org.apache.log4j.chainsaw.receivers.ReceiversHelper

public class ReceiversHelper extends Object
Helper class to assisit with all the known Receivers.

A local resource 'known.receivers' is read in on initialization with each line representing the FQN of the Class that is a recognised Receiver.

Author:
Paul Smith <psmith@apache.org>
  • Method Details

    • getInstance

      public static ReceiversHelper getInstance()
    • getKnownReceiverClasses

      public List getKnownReceiverClasses()
      Returns an unmodifiable list of Class objects which represent all the 'known' Receiver classes.
      Returns:
      known receiver classes
    • saveReceiverConfiguration

      public void saveReceiverConfiguration(File file)