public class CdiExecutionListener extends Object implements ExecutionListener, Serializable
ExecutionListener
publishing events using the cdi event
infrastructure.Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
transitionName |
protected BusinessProcessEventType |
type |
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
Constructor and Description |
---|
CdiExecutionListener(String transitionName) |
CdiExecutionListener(String activityId,
BusinessProcessEventType type) |
Modifier and Type | Method and Description |
---|---|
protected BusinessProcessEvent |
createEvent(DelegateExecution execution) |
protected javax.enterprise.inject.spi.BeanManager |
getBeanManager() |
protected Annotation[] |
getQualifiers(BusinessProcessEvent event) |
void |
notify(DelegateExecution execution) |
protected final BusinessProcessEventType type
protected final String transitionName
protected final String activityId
public CdiExecutionListener(String transitionName)
public CdiExecutionListener(String activityId, BusinessProcessEventType type)
public void notify(DelegateExecution execution) throws Exception
notify
in interface ExecutionListener
Exception
protected BusinessProcessEvent createEvent(DelegateExecution execution)
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
protected Annotation[] getQualifiers(BusinessProcessEvent event)
Copyright © 2016 Alfresco. All rights reserved.