public class FlowVariableResolver extends VariableResolver (Code)
Custom variable resolver that resolves the current FlowExecution object for binding expressions prefixed with
FlowVariableResolver.FLOW_SCOPE_VARIABLE . For instance "flowScope.myBean.myProperty". Designed to be used in conjunction with
FlowPropertyResolver only.
This class is the original flow execution variable resolver implementation introduced in Spring Web Flow's JSF
support available since 1.0. In general, prefer use of
DelegatingFlowVariableResolver or
FlowExecutionVariableResolver to this implementation as they are both considerably more flexible.
This resolver should only be used with the
FlowPropertyResolver which can only resolve flow-scoped variables.
May be deprecated in a future release of Spring Web Flow.
author: Colin Sampaleanu
final public static String FLOW_SCOPE_VARIABLE(Code)
Name of the exposed flow scope variable ("flowScope").
Constructor Detail
FlowVariableResolver
public FlowVariableResolver(VariableResolver resolverDelegate)(Code)
Create a new FlowVariableResolver, using the given original VariableResolver.
A JSF implementation will automatically pass its original resolver into the constructor of a configured resolver,
provided that there is a corresponding constructor argument.
Parameters: resolverDelegate - the original VariableResolver
Method Detail
getResolverDelegate
final protected VariableResolver getResolverDelegate()(Code)
Return the original VariableResolver that this resolver delegates to.