com.bluemarsh.jswat.report
Class ReporterGroup

java.lang.Object
  |
  +--com.bluemarsh.jswat.report.ReporterGroup

public class ReporterGroup
extends java.lang.Object

Class ReporterGroup manages a list of reporters for a particular reporting category.

Version:
1.0 4/8/01
Author:
Nathan Fiedler

Field Summary
protected  java.lang.String categoryName
          Name of our reporting category.
protected  java.util.List reporterList
          List of registered reporters.
 
Constructor Summary
ReporterGroup(java.lang.String name)
          Construct a ReporterGroup for the named category.
 
Method Summary
 void configureReporters()
          Uses the JConfigure settings to create the appropriate reporters for this reporting category.
 void report(LoggingEvent event)
          Report a logging event to all of the registered reporters.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

reporterList

protected java.util.List reporterList
List of registered reporters.

categoryName

protected java.lang.String categoryName
Name of our reporting category.
Constructor Detail

ReporterGroup

public ReporterGroup(java.lang.String name)
Construct a ReporterGroup for the named category.
Parameters:
name - reporting category name.
Method Detail

configureReporters

public void configureReporters()
Uses the JConfigure settings to create the appropriate reporters for this reporting category.

report

public void report(LoggingEvent event)
Report a logging event to all of the registered reporters.
Parameters:
event - logging event to report.