|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEventHandler
Interface for event handler.
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. |
Method Detail |
---|
boolean handle(Event e, ProcessInstance handlerProc, EventRegistry reg)
e
- the raised eventhandlerProc
- the process instance which has registered for the event.reg
- the event registry entry
boolean onRegister(ProcessInstance handlerProc)
handlerProc
- the process instance which is registringvoid onUnregister(EventRegistry reg)
reg
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |