Class DelegateExpressionFlowableEventListener
java.lang.Object
org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
org.flowable.engine.impl.bpmn.helper.DelegateExpressionFlowableEventListener
- All Implemented Interfaces:
FlowableEventListener
An
In case an entityClass was passed in the constructor, only events that are
FlowableEventListener implementation which resolves an expression to a delegate FlowableEventListener instance and uses this for event notification. In case an entityClass was passed in the constructor, only events that are
FlowableEntityEvent's that target an entity of the given type, are dispatched to the delegate.- Author:
- Frederik Heremans
-
Field Summary
FieldsFields inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
entityClassFields inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
onTransaction -
Constructor Summary
ConstructorsConstructorDescriptionDelegateExpressionFlowableEventListener(Expression expression, Class<?> entityClass) -
Method Summary
Methods inherited from class org.flowable.engine.impl.bpmn.helper.BaseDelegateEventListener
getEntityClass, isValidEvent, setEntityClassMethods inherited from class org.flowable.common.engine.api.delegate.event.AbstractFlowableEventListener
getOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.delegate.event.FlowableEventListener
getTypes
-
Field Details
-
expression
-
failOnException
protected boolean failOnException
-
-
Constructor Details
-
DelegateExpressionFlowableEventListener
-
-
Method Details
-
onEvent
-
isFailOnException
public boolean isFailOnException()
-