public class DelegateFlowableEventListener extends BaseDelegateEventListener
FlowableEventListener implementation which uses a classname to create a delegate FlowableEventListener instance to use 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 String |
className |
protected FlowableEventListener |
delegateInstance |
protected boolean |
failOnException |
entityClassonTransaction| Constructor and Description |
|---|
DelegateFlowableEventListener(String className,
Class<?> entityClass) |
| Modifier and Type | Method and Description |
|---|---|
protected FlowableEventListener |
getDelegateInstance() |
boolean |
isFailOnException() |
void |
onEvent(FlowableEvent event) |
getEntityClass, isValidEvent, setEntityClassgetOnTransaction, isFireOnTransactionLifecycleEvent, setOnTransactionprotected String className
protected FlowableEventListener delegateInstance
protected boolean failOnException
public void onEvent(FlowableEvent event)
public boolean isFailOnException()
protected FlowableEventListener getDelegateInstance()
Copyright © 2020 Flowable. All rights reserved.