Spring Web Flow

org.springframework.webflow.execution.factory
Interface FlowExecutionListenerCriteria


public interface FlowExecutionListenerCriteria

Strategy interface that determines if a flow execution listener should attach to executions of a specific flow definition.

This selection strategy is typically used by the FlowExecutionListenerLoader to determine which listeners should apply to which flow definitions.

Author:
Keith Donald, Erwin Vervaet
See Also:
FlowExecutionListener, FlowExecutionListenerLoader

Method Summary
 boolean appliesTo(FlowDefinition definition)
          Do the listeners guarded by this criteria object apply to the provided flow definition?
 

Method Detail

appliesTo

boolean appliesTo(FlowDefinition definition)
Do the listeners guarded by this criteria object apply to the provided flow definition?

Parameters:
definition - the flow definition
Returns:
true if yes, false if no

Spring Web Flow