Spring Web Flow

org.springframework.webflow.engine
Interface TargetStateResolver

All Known Implementing Classes:
DefaultTargetStateResolver

public interface TargetStateResolver

A strategy for calculating the target state of a transition. This facilitates dynamic transition target state resolution that takes into account runtime contextual information.

Author:
Keith Donald

Method Summary
 State resolveTargetState(Transition transition, State sourceState, RequestContext context)
          Resolve the target state of the transition from the source state in the current request context.
 

Method Detail

resolveTargetState

State resolveTargetState(Transition transition,
                         State sourceState,
                         RequestContext context)
Resolve the target state of the transition from the source state in the current request context. Should never return null.

Parameters:
transition - the transition
sourceState - the source state of the transition, could be null
context - the current request context
Returns:
the transition's target state - may be null if no state change should occur

Spring Web Flow