|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.event.EventHandler
public class EventHandler
The base class for an event handler.
| Constructor Summary | |
|---|---|
EventHandler()
|
|
| Method Summary | |
|---|---|
boolean |
handle(Event e,
ProcessInstance handlerProc,
EventRegistry reg)
The handle method is called when an event is raised and a handler has been registered. |
boolean |
onRegister(ProcessInstance handlerProc)
This method is called when you register this handler. |
void |
onUnregister(EventRegistry reg)
This method is called when the handler is unregistered. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EventHandler()
| Method Detail |
|---|
public boolean handle(Event e,
ProcessInstance handlerProc,
EventRegistry reg)
handle in interface IEventHandlere - the raised eventhandlerProc - the process instance which has registered for the event.reg - the event registry entry
public boolean onRegister(ProcessInstance handlerProc)
onRegister in interface IEventHandlerhandlerProc - the process instance which is registring
public void onUnregister(EventRegistry reg)
IEventHandler
onUnregister in interface IEventHandler
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||