Hilbert II - Version 0.03.04

org.qedeq.kernel.log
Class ModuleEventLog

java.lang.Object
  extended byorg.qedeq.kernel.log.ModuleEventLog
All Implemented Interfaces:
ModuleEventListener

public final class ModuleEventLog
extends Object
implements ModuleEventListener

This class organizes the logging of module events.

Version:
$Revision: 1.3 $

Method Summary
 void addLog(ModuleEventListener log)
          Add listener.
 void addLog(PrintStream out)
          Add stream listener.
 void addModule(ModuleProperties prop)
          Add module.
static ModuleEventLog getInstance()
          Get instance of Logger.
 void removeModule(ModuleProperties prop)
          Remove module.
 void stateChanged(ModuleProperties prop)
          Module properties (i.e. the status) have changed.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static final ModuleEventLog getInstance()
Get instance of Logger.

Returns:
singleton

addLog

public final void addLog(ModuleEventListener log)
Add listener.

Parameters:
log - Add this listener.

addLog

public final void addLog(PrintStream out)
Add stream listener.

Parameters:
out - Put messages into this stream.

addModule

public void addModule(ModuleProperties prop)
Description copied from interface: ModuleEventListener
Add module.

Specified by:
addModule in interface ModuleEventListener
Parameters:
prop - add module with this properties.

stateChanged

public void stateChanged(ModuleProperties prop)
Description copied from interface: ModuleEventListener
Module properties (i.e. the status) have changed.

Specified by:
stateChanged in interface ModuleEventListener
Parameters:
prop -

removeModule

public void removeModule(ModuleProperties prop)
Description copied from interface: ModuleEventListener
Remove module.

Specified by:
removeModule in interface ModuleEventListener
Parameters:
prop - remove module with this properties.

Hilbert II - Version 0.03.04

©left GNU General Public Licence
All Rights Reserved.