| org.springframework.webflow.execution.FlowExecutionContext
All known Subclasses: org.springframework.webflow.test.MockFlowExecutionContext,
getActiveSession | public FlowSession getActiveSession() throws IllegalStateException(Code) | | Returns the active flow session of this flow execution. The active flow
session is the currently executing session -- it may be the "root flow"
session, or it may be a subflow session if this flow execution has
spawned a subflow.
the active flow session throws: IllegalStateException - if this flow execution has not been startedat all or if this execution has ended and is no longer actively executing |
getAttributes | public AttributeMap getAttributes()(Code) | | Returns runtime execution attributes that may influence the behavior of
flow artifacts, such as states and actions.
execution attributes |
getConversationScope | public MutableAttributeMap getConversationScope()(Code) | | Returns a mutable map for data held in "conversation scope". Conversation
scope is a data structure that exists for the life of this flow execution
and is accessible to all flow sessions.
conversation scope |
getDefinition | public FlowDefinition getDefinition()(Code) | | Returns the root flow definition associated with this executing flow.
A call to this method always returns the same flow definition -- the
top-level "root" -- no matter what flow may actually be active (for
example, if subflows have been spawned).
the root flow definition |
isActive | public boolean isActive()(Code) | | Is the flow execution active?
All methods on an active flow execution context can be called
successfully. If the flow execution is not active, a caller cannot access
some methods such as
FlowExecutionContext.getActiveSession() .
true if active, false if the flow execution has terminated |
|
|