org.datamanager.tools
Class EventLoggerSimpleton
java.lang.Object
|
+--org.datamanager.kernel.Simpleton
|
+--org.datamanager.tools.EventLoggerSimpleton
- All Implemented Interfaces:
- EventHandler
- public class EventLoggerSimpleton
- extends Simpleton
- implements EventHandler
Used to log all Events that pass through the KnownSpace kernel. Handy for
developers as a state-examination or tracing tool.
- Author:
- Matt Liggett
Method Summary |
void |
handle(DataManagerEvent dataManagerEvent)
Handle a DataManagerEvent that has been fired. |
void |
process()
Starts this Simpleton and subscribes it to all events. |
EventLoggerSimpleton
public EventLoggerSimpleton()
process
public void process()
- Starts this Simpleton and subscribes it to all events.
- Specified by:
process
in class Simpleton
handle
public void handle(DataManagerEvent dataManagerEvent)
- Description copied from interface:
EventHandler
- Handle a DataManagerEvent that has been fired.
- Specified by:
handle
in interface EventHandler
- Parameters:
dataManagerEvent
- The event to handle.
See the Helium Website