Package org.springframework.webflow.execution

Core, stable abstractions for representing runtime executions of flow definitions.

See:
          Description

Interface Summary
Action A command that executes a behavior and returns a logical execution result a calling flow execution can respond to.
FlowExecution A top-level instance of a flow definition that carries out definition execution on behalf of a single client.
FlowExecutionContext Provides contextual information about a flow execution.
FlowExecutionFactory An abstract factory for creating flow exections.
FlowExecutionListener Interface to be implemented by objects that wish to listen and respond to the lifecycle of flow executions.
FlowSession A single, local instantiation of a flow definition launched within an overall flow execution.
RequestContext A context for a single request to manipulate a flow execution.
 

Class Summary
Event Signals the occurrence of something an active flow execution should respond to.
FlowExecutionListenerAdapter An abstract adapter class for listeners (observers) of flow execution lifecycle events.
FlowSessionStatus Type-safe enumeration of possible flow session statuses.
ScopeType An enumeration of the core scope types of Spring Web Flow.
ViewSelection Abstract base class for value objects that provide callers into a flow execution information about a logical response to issue and the data necessary to issue it.
 

Exception Summary
EnterStateVetoException Exception thrown to veto the entering of a state of a flow.
FlowExecutionException Base class for exceptions that occur within a flow while it is executing.
 

Package org.springframework.webflow.execution Description

Core, stable abstractions for representing runtime executions of flow definitions.

The central concept defined by this package is the FlowExecution interface, which represents a single instance of a top-level flow definition.

The following classes and interfaces are of particular interest:

Package Usage example:

    // create flow execution
    FlowDefinition definition = ...
    FlowExecutionFactory factory = ...
    FlowExecution execution = factory.createFlowExecution(definition);
    
    // start execution
    ExternalContext context = ...
    ViewSelection response = execution.start(null, context);

This package depends on the definition package.



Copyright © 2004-2007. All Rights Reserved.