|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FlowExecutor
The central facade and entry-point service interface into the Spring Web Flow system for driving the executions of flow definitions. This interface defines a coarse-grained system boundary suitable for invocation by most clients.
Implementations of this interface abstract away much of the internal complexity of the web flow execution subsystem, which consists of launching and resuming managed flow executions.
Method Summary | |
---|---|
FlowExecutionResult |
launchExecution(java.lang.String flowId,
MutableAttributeMap<?> input,
ExternalContext context)
Launch a new execution of the flow with the provided id. |
FlowExecutionResult |
resumeExecution(java.lang.String flowExecutionKey,
ExternalContext context)
Resume the flow execution with the provided execution key. |
Method Detail |
---|
FlowExecutionResult launchExecution(java.lang.String flowId, MutableAttributeMap<?> input, ExternalContext context) throws FlowException
flowId
- the flow definition identifier; should be unique among all top-level flow definitions (required).input
- input to pass to the new execution on startup (optional)context
- access to the calling environment (required)
FlowException
FlowExecutionResult resumeExecution(java.lang.String flowExecutionKey, ExternalContext context) throws FlowException
flowExecutionKey
- the key of a paused execution of the flow definitioncontext
- access to the calling environment
FlowException
|
Spring Web Flow | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |