public class DelegateExpressionFlowableEventListener extends BaseDelegateEventListener
FlowableEventListener implementation which resolves an expression to a delegate FlowableEventListener instance and uses this for event notification. FlowableEntityEvent's that target an entity of the given type, are dispatched to the delegate.| Modifier and Type | Field and Description |
|---|---|
protected Expression |
expression |
protected boolean |
failOnException |
entityClassonTransaction| Constructor and Description |
|---|
DelegateExpressionFlowableEventListener(Expression expression,
Class<?> entityClass) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isFailOnException() |
void |
onEvent(FlowableEvent event) |
getEntityClass, isValidEvent, setEntityClassgetOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionprotected Expression expression
protected boolean failOnException
public DelegateExpressionFlowableEventListener(Expression expression, Class<?> entityClass)
public void onEvent(FlowableEvent event)
public boolean isFailOnException()
Copyright © 2019 Flowable. All rights reserved.