de.bea.domingo.connector.impl
Class DomingoLogAdapter

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

public final class DomingoLogAdapter
extends de.bea.domingo.monitor.AbstractDefaultMonitor
implements de.bea.domingo.DNotesMonitor

Author:
Kurt Riede

Field Summary
 
Fields inherited from class de.bea.domingo.monitor.AbstractMonitor
DEBUG, DEFAULT_LEVEL, ERROR, FATAL, INFO, NONE, WARN
 
Constructor Summary
DomingoLogAdapter()
          Constructor.
DomingoLogAdapter(int theLevel)
          Constructor.
 
Method Summary
 java.io.PrintWriter getWriter()
          Returns the current writer of the monitor.
protected  void monitor(java.lang.String message)
          
protected  void monitor(java.lang.Throwable throwable)
          
 void setWriter(java.io.PrintWriter theWriter)
          Sets a new writer to be used by this monitor.
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.bea.domingo.DNotesMonitor
debug, debug, error, error, fatalError, fatalError, info, info, isDebugEnabled, isErrorEnabled, isFatalErrorEnabled, isInfoEnabled, isWarnEnabled, warn, warn
 

Constructor Detail

DomingoLogAdapter

public DomingoLogAdapter()
Constructor.


DomingoLogAdapter

public DomingoLogAdapter(int theLevel)
Constructor.

Parameters:
theLevel - the log level
Method Detail

setWriter

public void setWriter(java.io.PrintWriter theWriter)
Sets a new writer to be used by this monitor.

Parameters:
theWriter - the new print writer

getWriter

public java.io.PrintWriter getWriter()
Returns the current writer of the monitor.

Returns:
the current writer

monitor

protected void monitor(java.lang.String message)

Specified by:
monitor in class de.bea.domingo.monitor.AbstractDefaultMonitor
See Also:
AbstractDefaultMonitor.monitor(java.lang.String)

monitor

protected void monitor(java.lang.Throwable throwable)

Specified by:
monitor in class de.bea.domingo.monitor.AbstractDefaultMonitor
See Also:
AbstractDefaultMonitor.monitor(java.lang.Throwable)


Domingo 1.0 Java-API