| org.springframework.webflow.executor.jsf.AbstractFlowExecutionPropertyResolver org.springframework.webflow.executor.jsf.FlowPropertyResolver
FlowPropertyResolver | public class FlowPropertyResolver extends AbstractFlowExecutionPropertyResolver (Code) | | Custom property resolver that resolves flow session scope attributes of the current flow execution. This resolver
will also create and set the attribute value to a bean from the root Spring Web Application Context if the value does
not already exist, allowing for lazy-initialized binding variables.
Designed mainly to be used with the
FlowVariableResolver . This is the original property resolver implemented
with Spring Web Flow 1.0. In general, prefer
DelegatingFlowVariableResolver or
FlowExecutionVariableResolver over use of this class. Also, consider use of the
DelegatingVariableResolver as an alternative to accessing lazy-initialized binding variables managed by a
Spring application context that uses custom bean scopes.
author: Colin Sampaleanu author: Keith Donald |
Constructor Summary | |
public | FlowPropertyResolver(PropertyResolver resolverDelegate) Creates a new flow execution property resolver that resolves flow scope attributes. |
FlowPropertyResolver | public FlowPropertyResolver(PropertyResolver resolverDelegate)(Code) | | Creates a new flow execution property resolver that resolves flow scope attributes.
Parameters: resolverDelegate - the resolver to delegate to when the property is not a flow execution attribute |
getWebApplicationContext | protected WebApplicationContext getWebApplicationContext(FacesContext facesContext)(Code) | | Retrieve the web application context to delegate bean name resolution to. Default implementation delegates to
FacesContextUtils.
Parameters: facesContext - the current JSF context the Spring web application context (never null ) See Also: FacesContextUtils.getRequiredWebApplicationContext |
Methods inherited from org.springframework.webflow.executor.jsf.AbstractFlowExecutionPropertyResolver | abstract protected Object doGetAttribute(FlowExecution execution, String attributeName)(Code)(Java Doc) abstract protected Class doGetAttributeType(FlowExecution execution, String attributeName)(Code)(Java Doc) abstract protected void doSetAttribute(FlowExecution execution, String attributeName, Object attributeValue)(Code)(Java Doc) final protected PropertyResolver getResolverDelegate()(Code)(Java Doc) public Class getType(Object base, Object property) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public Class getType(Object base, int index) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public Object getValue(Object base, Object property) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public Object getValue(Object base, int index) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public boolean isReadOnly(Object base, Object property) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public boolean isReadOnly(Object base, int index) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public void setValue(Object base, Object property, Object value) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc) public void setValue(Object base, int index, Object value) throws EvaluationException, PropertyNotFoundException(Code)(Java Doc)
|
|
|