de.bea.domingo.monitor
Class WriterMonitor

java.lang.Object
  extended by de.bea.domingo.monitor.AbstractMonitor
      extended by de.bea.domingo.monitor.AbstractDefaultMonitor
          extended by de.bea.domingo.monitor.WriterMonitor
All Implemented Interfaces:
DNotesMonitor

public class WriterMonitor
extends AbstractDefaultMonitor

Console monitor, logs everything to a PrintWriter.

Author:
Kurt Riede

Field Summary
 
Fields inherited from class de.bea.domingo.monitor.AbstractMonitor
LEVELS
 
Fields inherited from interface de.bea.domingo.DNotesMonitor
DEBUG, DEFAULT_LEVEL, ERROR, FATAL, INFO, NONE, WARN
 
Constructor Summary
WriterMonitor(java.io.PrintWriter theWriter)
          Constructor.
 
Method Summary
protected  void monitor(java.lang.String message)
          Abstract monitoring method, must be implemented by concrete monitors.
protected  void monitor(java.lang.Throwable throwable)
          Abstract monitoring method, must be implemented by concrete monitors.
 
Methods inherited from class de.bea.domingo.monitor.AbstractDefaultMonitor
debug, debug, error, error, fatalError, fatalError, info, info, warn, warn
 
Methods inherited from class de.bea.domingo.monitor.AbstractMonitor
isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isNoMesssages, isWarnEnabled, setLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WriterMonitor

public WriterMonitor(java.io.PrintWriter theWriter)
Constructor.

Parameters:
theWriter - the output stream for monitoring
Method Detail

monitor

protected final void monitor(java.lang.String message)
Abstract monitoring method, must be implemented by concrete monitors.

Specified by:
monitor in class AbstractDefaultMonitor
Parameters:
message - a message to monitor
See Also:
AbstractDefaultMonitor.monitor(java.lang.String)

monitor

protected final void monitor(java.lang.Throwable throwable)
Abstract monitoring method, must be implemented by concrete monitors.

Specified by:
monitor in class AbstractDefaultMonitor
Parameters:
throwable - a throwable to monitor
See Also:
AbstractDefaultMonitor.monitor(java.lang.Throwable)


Domingo Java-API