|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Flow | |
---|---|
org.springframework.webflow.engine | The implementation of the core flow definition artifacts that serve the basis of the flow execution engine. |
org.springframework.webflow.engine.builder | The flow builder subsystem for building and assembling executable flow definitions. |
org.springframework.webflow.engine.builder.xml | The XML-based flow builder implementation. |
org.springframework.webflow.engine.impl | The implementation of Spring Web Flow's flow execution machine. |
org.springframework.webflow.test | Support for testing flows and their associated artifacts. |
org.springframework.webflow.test.execution | Support for testing the execution of a flow definition. |
Uses of Flow in org.springframework.webflow.engine |
---|
Methods in org.springframework.webflow.engine that return Flow | |
---|---|
Flow |
State.getFlow()
Returns the owning flow. |
Flow |
Flow.getInlineFlow(java.lang.String id)
Returns the inline flow with the provided id, or null if no such inline flow exists. |
Flow[] |
Flow.getInlineFlows()
Returns the list of inline flows. |
Flow |
SubflowState.getSubflow()
Returns the subflow spawned by this state. |
Methods in org.springframework.webflow.engine with parameters of type Flow | |
---|---|
void |
Flow.addInlineFlow(Flow flow)
Adds an inline flow to this flow. |
ViewSelection |
RequestControlContext.start(Flow flow,
MutableAttributeMap input)
Spawn a new flow session and activate it in the currently executing flow. |
Constructors in org.springframework.webflow.engine with parameters of type Flow | |
---|---|
ActionState(Flow flow,
java.lang.String id)
Creates a new action state. |
|
DecisionState(Flow flow,
java.lang.String stateId)
Creates a new decision state. |
|
EndState(Flow flow,
java.lang.String id)
Create a new end state with no associated view. |
|
State(Flow flow,
java.lang.String id)
Creates a state for the provided flow identified by the provided id . |
|
SubflowState(Flow flow,
java.lang.String id,
Flow subflow)
Create a new subflow state. |
|
TransitionableState(Flow flow,
java.lang.String id)
Create a new transitionable state. |
|
ViewState(Flow flow,
java.lang.String id)
Create a new view state. |
Uses of Flow in org.springframework.webflow.engine.builder |
---|
Methods in org.springframework.webflow.engine.builder that return Flow | |
---|---|
Flow |
FlowAssembler.assembleFlow()
Assembles the flow, directing the construction process by delegating to the configured FlowBuilder. |
Flow |
FlowArtifactFactory.createFlow(java.lang.String id,
AttributeMap attributes)
Factory method that creates a new Flow definition object. |
protected Flow |
AbstractFlowBuilder.flow(java.lang.String id)
Request that the Flow with the specified flowId be spawned as a subflow when the subflow state
being built is entered. |
Flow |
BaseFlowBuilder.getFlow()
Get the flow (result) built by this builder. |
Flow |
FlowBuilder.getFlow()
Get the fully constructed and configured Flow object - called by the builder's assembler (director) after assembly. |
Flow |
FlowServiceLocator.getSubflow(java.lang.String id)
Returns the Flow to be used as a subflow with the provided id. |
Flow |
DefaultFlowServiceLocator.getSubflow(java.lang.String id)
|
Flow |
BaseFlowServiceLocator.getSubflow(java.lang.String id)
|
Methods in org.springframework.webflow.engine.builder with parameters of type Flow | |
---|---|
protected State |
AbstractFlowBuilder.addSubflowState(java.lang.String stateId,
Action[] entryActions,
Flow subflow,
FlowAttributeMapper attributeMapper,
Transition[] transitions,
FlowExecutionExceptionHandler[] exceptionHandlers,
Action[] exitActions,
AttributeMap attributes)
Adds a subflow state to the flow built by this builder. |
protected State |
AbstractFlowBuilder.addSubflowState(java.lang.String stateId,
Flow subflow,
FlowAttributeMapper attributeMapper,
Transition transition)
Adds a subflow state to the flow built by this builder. |
protected State |
AbstractFlowBuilder.addSubflowState(java.lang.String stateId,
Flow subflow,
FlowAttributeMapper attributeMapper,
Transition[] transitions)
Adds a subflow state to the flow built by this builder. |
State |
FlowArtifactFactory.createActionState(java.lang.String id,
Flow flow,
Action[] entryActions,
Action[] actions,
Transition[] transitions,
FlowExecutionExceptionHandler[] exceptionHandlers,
Action[] exitActions,
AttributeMap attributes)
Factory method that creates a new action state, a state where a system action is executed. |
State |
FlowArtifactFactory.createDecisionState(java.lang.String id,
Flow flow,
Action[] entryActions,
Transition[] transitions,
FlowExecutionExceptionHandler[] exceptionHandlers,
Action[] exitActions,
AttributeMap attributes)
Factory method that creates a new decision state, a state where a flow routing decision is made. |
State |
FlowArtifactFactory.createEndState(java.lang.String id,
Flow flow,
Action[] entryActions,
ViewSelector viewSelector,
org.springframework.binding.mapping.AttributeMapper outputMapper,
FlowExecutionExceptionHandler[] exceptionHandlers,
AttributeMap attributes)
Factory method that creates a new end state, a state where an executing flow session terminates. |
State |
FlowArtifactFactory.createSubflowState(java.lang.String id,
Flow flow,
Action[] entryActions,
Flow subflow,
FlowAttributeMapper attributeMapper,
Transition[] transitions,
FlowExecutionExceptionHandler[] exceptionHandlers,
Action[] exitActions,
AttributeMap attributes)
Factory method that creates a new subflow state, a state where a parent flow spawns another flow as a subflow. |
State |
FlowArtifactFactory.createViewState(java.lang.String id,
Flow flow,
Action[] entryActions,
ViewSelector viewSelector,
Action[] renderActions,
Transition[] transitions,
FlowExecutionExceptionHandler[] exceptionHandlers,
Action[] exitActions,
AttributeMap attributes)
Factory method that creates a new view state, a state where a user is allowed to participate in the flow. |
protected void |
BaseFlowBuilder.setFlow(Flow flow)
Set the flow being built by this builder. |
Uses of Flow in org.springframework.webflow.engine.builder.xml |
---|
Methods in org.springframework.webflow.engine.builder.xml with parameters of type Flow | |
---|---|
protected org.springframework.beans.factory.BeanFactory |
XmlFlowBuilder.createLocalBeanFactory(Flow flow,
org.springframework.core.io.Resource[] resources)
Create a bean factory serving as a local flow service registry. |
protected void |
XmlFlowBuilder.registerLocalBeans(Flow flow,
org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory)
Register beans in the bean factory local to the flow definition being built. |
Uses of Flow in org.springframework.webflow.engine.impl |
---|
Methods in org.springframework.webflow.engine.impl with parameters of type Flow | |
---|---|
protected FlowSession |
FlowExecutionImpl.activateSession(Flow flow)
Activate a new FlowSession for the flow definition. |
Constructors in org.springframework.webflow.engine.impl with parameters of type Flow | |
---|---|
FlowExecutionImpl(Flow flow)
Create a new flow execution executing the provided flow. |
|
FlowExecutionImpl(Flow flow,
FlowExecutionListener[] listeners,
AttributeMap attributes)
Create a new flow execution executing the provided flow. |
Uses of Flow in org.springframework.webflow.test |
---|
Methods in org.springframework.webflow.test that return Flow | |
---|---|
Flow |
MockFlowSession.getDefinitionInternal()
Returns the flow definition of this session. |
Methods in org.springframework.webflow.test with parameters of type Flow | |
---|---|
void |
MockFlowServiceLocator.registerSubflow(Flow subflow)
Register a subflow definition in the backing flow registry, typically to support a flow execution test. |
void |
MockFlowSession.setDefinition(Flow flow)
Set the flow associated with this flow session. |
void |
MockFlowExecutionContext.setFlow(Flow rootFlow)
Sets the top-level flow definition. |
ViewSelection |
MockRequestControlContext.start(Flow flow,
MutableAttributeMap input)
|
Constructors in org.springframework.webflow.test with parameters of type Flow | |
---|---|
MockFlowExecutionContext(Flow rootFlow)
Creates a new mock flow execution context for the specified root flow definition. |
|
MockFlowSession(Flow flow)
Creates a new mock session in a created state for the specified flow definition. |
|
MockFlowSession(Flow flow,
AttributeMap input)
Creates a new mock session in FlowSessionStatus.CREATED state for the specified flow definition. |
|
MockRequestContext(Flow flow)
Creates a new mock request context with the following defaults: A flow execution context with an active session for the specified flow. |
|
MockRequestControlContext(Flow rootFlow)
Creates a new mock request control context for controlling a mock execution of the provided flow definition. |
Uses of Flow in org.springframework.webflow.test.execution |
---|
Methods in org.springframework.webflow.test.execution that return Flow | |
---|---|
protected Flow |
AbstractExternalizedFlowExecutionTests.createFlow(FlowDefinitionResource resource,
FlowServiceLocator serviceLocator)
Factory method to assemble a flow definition from a resource. |
Methods in org.springframework.webflow.test.execution with parameters of type Flow | |
---|---|
protected void |
AbstractXmlFlowExecutionTests.registerLocalMockServices(Flow flow,
org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory)
Template method subclasses may override to register mock implementations of services used locally by the flow being tested. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |