public class CdiTaskListener extends Object implements TaskListener, Serializable
TaskListener
publishing events using the cdi event
infrastructure.Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
transitionName |
protected BusinessProcessEventType |
type |
EVENTNAME_ALL_EVENTS, EVENTNAME_ASSIGNMENT, EVENTNAME_COMPLETE, EVENTNAME_CREATE, EVENTNAME_DELETE
Constructor and Description |
---|
CdiTaskListener(String transitionName) |
CdiTaskListener(String activityId,
BusinessProcessEventType type) |
Modifier and Type | Method and Description |
---|---|
protected BusinessProcessEvent |
createEvent(DelegateTask task) |
protected javax.enterprise.inject.spi.BeanManager |
getBeanManager() |
protected Annotation[] |
getQualifiers(BusinessProcessEvent event) |
void |
notify(DelegateTask task) |
protected final BusinessProcessEventType type
protected final String transitionName
protected final String activityId
public CdiTaskListener(String transitionName)
public CdiTaskListener(String activityId, BusinessProcessEventType type)
public void notify(DelegateTask task)
notify
in interface TaskListener
protected BusinessProcessEvent createEvent(DelegateTask task)
protected javax.enterprise.inject.spi.BeanManager getBeanManager()
protected Annotation[] getQualifiers(BusinessProcessEvent event)
Copyright © 2016 Alfresco. All rights reserved.