public class CdiEventListener extends Object implements TaskListener, ExecutionListener, Serializable
ExecutionListener
publishing events using the cdi event
infrastructure.EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
Constructor and Description |
---|
CdiEventListener() |
Modifier and Type | Method and Description |
---|---|
protected BusinessProcessEvent |
createEvent(DelegateExecution execution) |
protected BusinessProcessEvent |
createEvent(DelegateTask task) |
protected javax.enterprise.inject.spi.BeanManager |
getBeanManager() |
protected Annotation[] |
getQualifiers(BusinessProcessEvent event) |
void |
notify(DelegateExecution execution) |
void |
notify(DelegateTask task) |
public void notify(DelegateExecution execution) throws Exception
notify
in interface DelegateListener<DelegateExecution>
notify
in interface ExecutionListener
Exception
public void notify(DelegateTask task)
notify
in interface TaskListener
protected BusinessProcessEvent createEvent(DelegateExecution execution)
protected BusinessProcessEvent createEvent(DelegateTask task)
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
protected Annotation[] getQualifiers(BusinessProcessEvent event)
Copyright © 2022. All rights reserved.