| java.lang.Object org.springframework.webflow.executor.FlowExecutorImpl
FlowExecutorImpl | public class FlowExecutorImpl implements FlowExecutor(Code) | | The default implementation of the central facade for driving the
execution of flows within an application.
This object is responsible for creating and starting new flow executions as
requested by clients, as well as signaling events for processing by existing,
paused executions (that are waiting to be resumed in response to a user
event).
This object is a facade or entry point into the Spring Web Flow execution
system and makes the overall system easier to use. The name executor
was chosen as executors drive executions.
Commonly used configurable properties
name |
description |
default |
definitionLocator |
The service locator responsible for loading flow definitions to execute. |
None |
executionFactory |
The factory responsible for creating new flow executions. |
None |
executionRepository |
The repository responsible for managing flow execution persistence. |
None |
inputMapper |
The service responsible for mapping attributes of
ExternalContext external contexts that request to launch new
FlowExecution flow executions .
After mapping, the target map is then passed to the FlowExecution, exposing
external context attributes as input to the flow during startup. |
A
org.springframework.webflow.executor.RequestParameterInputMapper request parameter mapper ,
which exposes all request parameters in to the flow execution for input
mapping. |
See Also: FlowDefinitionLocator See Also: FlowExecutionFactory See Also: FlowExecutionRepository See Also: AttributeMapper author: Erwin Vervaet author: Keith Donald author: Colin Sampaleanu |
FlowExecutorImpl | public FlowExecutorImpl(FlowDefinitionLocator definitionLocator, FlowExecutionFactory executionFactory, FlowExecutionRepository executionRepository)(Code) | | Create a new flow executor.
Parameters: definitionLocator - the locator for accessing flow definitions toexecute Parameters: executionFactory - the factory for creating executions of flowdefinitions Parameters: executionRepository - the repository for persisting paused flowexecutions |
createInput | protected MutableAttributeMap createInput(ExternalContext context)(Code) | | Factory method that creates the input attribute map for a newly created
FlowExecution . This implementation uses the registered input mapper,
if any.
Parameters: context - the external context the input map, or null if no input |
getDefinitionLocator | public FlowDefinitionLocator getDefinitionLocator()(Code) | | Exposes the configured flow definition locator to subclasses and
privileged accessors.
the flow definition locator |
getExecutionFactory | public FlowExecutionFactory getExecutionFactory()(Code) | | Exposes the configured execution factory to subclasses and privileged
accessors.
the execution factory |
getExecutionRepository | public FlowExecutionRepository getExecutionRepository()(Code) | | Exposes the execution repository to subclasses and privileged accessors.
the execution repository |
getInputMapper | public AttributeMapper getInputMapper()(Code) | | Exposes the configured input mapper to subclasses and privileged
accessors.
the input mapper |
|
|