Class DelegateActivitiEventListener
java.lang.Object
org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
org.activiti.engine.impl.bpmn.helper.DelegateActivitiEventListener
- All Implemented Interfaces:
ActivitiEventListener
An
In case an entityClass was passed in the constructor, only events that are
ActivitiEventListener implementation which uses a classname to create a delegate ActivitiEventListener instance to use for event notification. In case an entityClass was passed in the constructor, only events that are
ActivitiEntityEvent's that target an entity of the given type, are dispatched to the delegate.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected ActivitiEventListenerprotected booleanFields inherited from class org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
entityClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ActivitiEventListenerbooleanvoidonEvent(ActivitiEvent event) Called when an event has been firedMethods inherited from class org.activiti.engine.impl.bpmn.helper.BaseDelegateEventListener
isValidEvent, setEntityClass
-
Field Details
-
className
-
delegateInstance
-
failOnException
protected boolean failOnException
-
-
Constructor Details
-
DelegateActivitiEventListener
-
-
Method Details
-
onEvent
Description copied from interface:ActivitiEventListenerCalled when an event has been fired- Parameters:
event- the event
-
isFailOnException
public boolean isFailOnException()- Returns:
- whether or not the current operation should fail when this listeners execution throws an exception.
-
getDelegateInstance
-