public class ConditionalFlowExecutionListenerLoader extends java.lang.Object implements FlowExecutionListenerLoader
StaticFlowExecutionListenerLoader.FlowExecutionListenerCriteria,
StaticFlowExecutionListenerLoader| Constructor and Description |
|---|
ConditionalFlowExecutionListenerLoader() |
| Modifier and Type | Method and Description |
|---|---|
void |
addListener(FlowExecutionListener listener,
FlowExecutionListenerCriteria criteria)
Add a listener that will listen to executions to flows matching the specified criteria.
|
FlowExecutionListener[] |
getListeners(FlowDefinition flowDefinition)
Returns the array of flow execution listeners for specified flow.
|
public ConditionalFlowExecutionListenerLoader()
public void addListener(FlowExecutionListener listener, FlowExecutionListenerCriteria criteria)
listener - the listenercriteria - the listener criteriapublic FlowExecutionListener[] getListeners(FlowDefinition flowDefinition)
getListeners in interface FlowExecutionListenerLoaderflowDefinition - the flow definition associated with the execution to be listened to