public class EventHandler extends Object implements IEventHandler
Constructor and Description |
---|
EventHandler() |
Modifier and Type | Method and Description |
---|---|
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.
|
public boolean handle(Event e, ProcessInstance handlerProc, EventRegistry reg)
handle
in interface IEventHandler
e
- the raised eventhandlerProc
- the process instance which has registered for the event.reg
- the event registry entrypublic boolean onRegister(ProcessInstance handlerProc)
onRegister
in interface IEventHandler
handlerProc
- the process instance which is registringpublic void onUnregister(EventRegistry reg)
IEventHandler
onUnregister
in interface IEventHandler
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.