|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jtheque.core.managers.AbstractManager
org.jtheque.core.managers.event.EventManager
public final class EventManager
An event manager implementation.
| Constructor Summary | |
|---|---|
EventManager()
|
|
| Method Summary | |
|---|---|
void |
addEventLog(java.lang.String log,
EventLog event)
Add an event to a log. |
void |
close()
Close the manager. |
java.util.List<EventLog> |
getEventLogs(java.lang.String log)
Return all the events from a log. |
java.util.Set<java.lang.String> |
getLogs()
Return all the logs. |
void |
init()
Init the manager. |
void |
preInit()
Pre-init the manager. |
| Methods inherited from class org.jtheque.core.managers.AbstractManager |
|---|
getErrors, getListeners, getLogger, getMessage, getMessage, getStates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventManager()
| Method Detail |
|---|
public void preInit()
IManager
preInit in interface IManager
public void init()
throws ManagerException
IManager
init in interface IManagerManagerException - If an error occurs during the init process.
public void close()
throws ManagerException
IManager
close in interface IManagerManagerException - If an error occurs during the close process.public java.util.Set<java.lang.String> getLogs()
IEventManager
getLogs in interface IEventManagerpublic java.util.List<EventLog> getEventLogs(java.lang.String log)
IEventManager
getEventLogs in interface IEventManagerlog - The log to get the events from.
public void addEventLog(java.lang.String log,
EventLog event)
IEventManager
addEventLog in interface IEventManagerlog - The log to add the event to.event - The event to add.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||