org.springframework.webflow.execution
Interface FlowExecutionFactory

All Known Implementing Classes:
FlowExecutionImplFactory

public interface FlowExecutionFactory

An abstract factory for creating flow exections. A flow execution represents a runtime, top-level instance of a flow definition.

This factory provides encapsulation of the flow execution implementation type, as well as its construction and assembly process.

Flow execution factories are responsible for registering listeners with the constructed flow execution.

Author:
Keith Donald
See Also:
FlowExecution, FlowDefinition, FlowExecutionListener

Method Summary
 FlowExecution createFlowExecution(FlowDefinition flowDefinition)
          Create a new flow execution product for the given flow definition.
 

Method Detail

createFlowExecution

FlowExecution createFlowExecution(FlowDefinition flowDefinition)
Create a new flow execution product for the given flow definition.

Parameters:
flowDefinition - the flow definition
Returns:
the new flow execution, fully initialized and awaiting to be started
See Also:
FlowExecution.start(org.springframework.webflow.core.collection.MutableAttributeMap, org.springframework.webflow.context.ExternalContext)


Copyright © 2004-2007. All Rights Reserved.