|
|||||||||
| 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. |
| 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)
e - the raised eventhandlerProc - the process instance which has registered for the event.reg - the event registry entry
public boolean onRegister(ProcessInstance handlerProc)
handlerProc - the process instance which is registring
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||