|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.qedeq.kernel.bo.log.ModuleEventLog
public final class ModuleEventLog
This class organizes the logging of module events. TODO mime 20080317: must this be a singleton?
Method Summary | |
---|---|
void |
addLog(ModuleEventListener log)
Add listener. |
void |
addLog(java.io.PrintStream out)
Add stream listener. |
void |
addModule(QedeqBo prop)
Add module. |
static ModuleEventLog |
getInstance()
Get instance of Logger. |
void |
removeLog(ModuleEventListener log)
Remove listener. |
void |
removeModule(QedeqBo prop)
Remove module. |
void |
stateChanged(QedeqBo prop)
Module properties (i.e. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static final ModuleEventLog getInstance()
public final void addLog(ModuleEventListener log)
log
- Add this listener.public final void removeLog(ModuleEventListener log)
log
- Remove this listener.public final void addLog(java.io.PrintStream out)
out
- Put messages into this stream.public void addModule(QedeqBo prop)
ModuleEventListener
addModule
in interface ModuleEventListener
prop
- add module with this properties.public void stateChanged(QedeqBo prop)
ModuleEventListener
stateChanged
in interface ModuleEventListener
prop
- The state of this module changed.public void removeModule(QedeqBo prop)
ModuleEventListener
removeModule
in interface ModuleEventListener
prop
- This module was removed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |