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 Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReceiversHelper
getInstance()
List
getKnownReceiverClasses()
Returns an unmodifiable list of Class objects which represent all the 'known' Receiver classes.void
saveReceiverConfiguration(File file)
-
-
-
Method Detail
-
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)
-
-