de.bea.domingo.monitor
Class NullMonitor

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

public final class NullMonitor
extends AbstractDefaultMonitor

Null monitor, simply does nothing.

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
 
Method Summary
static NullMonitor getInstance()
          Returns a singleton instance of the null monitor.
protected  void monitor(java.lang.String message)
          Monitor a message.
protected  void monitor(java.lang.Throwable throwable)
          Monitor a throwable.
 
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
 

Method Detail

getInstance

public static NullMonitor getInstance()
Returns a singleton instance of the null monitor.

Returns:
singleton instance of the null monitor

monitor

protected void monitor(java.lang.String message)
Monitor a message.

Specified by:
monitor in class AbstractDefaultMonitor
Parameters:
message - the message

monitor

protected void monitor(java.lang.Throwable throwable)
Monitor a throwable.

Specified by:
monitor in class AbstractDefaultMonitor
Parameters:
throwable - the throwable


Domingo Java-API