|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.deepamehta.core.service.DeepaMehtaEvent
public abstract class DeepaMehtaEvent
Base class for all events. That is core events as well as plugin events.
Field Summary | |
---|---|
private static Map<String,DeepaMehtaEvent> |
events
A map of all known events (contains core events as well as plugin events). |
private Class |
listenerInterface
The corresponding listener interface for this event. |
Constructor Summary | |
---|---|
DeepaMehtaEvent(Class listenerInterface)
|
Method Summary | |
---|---|
abstract void |
deliver(EventListener listener,
Object... params)
Delivers this event to the given listener. |
static DeepaMehtaEvent |
getEvent(Class listenerInterface)
Returns the event that corresponds to the given listener interface. |
Class |
getListenerInterface()
Returns the corresponding listener interface for this event. |
private void |
putEvent(DeepaMehtaEvent event,
Class listenerInterface)
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static Map<String,DeepaMehtaEvent> events
private final Class listenerInterface
Constructor Detail |
---|
public DeepaMehtaEvent(Class listenerInterface)
Method Detail |
---|
public abstract void deliver(EventListener listener, Object... params)
public Class getListenerInterface()
public static DeepaMehtaEvent getEvent(Class listenerInterface)
public String toString()
toString
in class Object
private void putEvent(DeepaMehtaEvent event, Class listenerInterface)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |