|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.faces.el.PropertyResolver
org.springframework.webflow.executor.jsf.FlowPropertyResolver
public class FlowPropertyResolver
Custom property resolve that resolves active flow session scope properties from a thread bound flow execution.
TODO: this class probably needs to delegate to a strategy object pulled out of the appcontext, to provide ability to override and configure, as JSF provides no other way to customize and configure this instance.
| Constructor Summary | |
|---|---|
FlowPropertyResolver(javax.faces.el.PropertyResolver resolverDelegate)
Create a new PropertyResolver, using the given original PropertyResolver. |
|
| Method Summary | |
|---|---|
java.lang.Class |
getType(java.lang.Object base,
int index)
|
java.lang.Class |
getType(java.lang.Object base,
java.lang.Object property)
|
java.lang.Object |
getValue(java.lang.Object base,
int index)
|
java.lang.Object |
getValue(java.lang.Object base,
java.lang.Object property)
|
protected org.springframework.web.context.WebApplicationContext |
getWebApplicationContext(javax.faces.context.FacesContext facesContext)
Retrieve the web application context to delegate bean name resolution to. |
boolean |
isReadOnly(java.lang.Object base,
int index)
|
boolean |
isReadOnly(java.lang.Object base,
java.lang.Object property)
|
void |
setValue(java.lang.Object base,
int index,
java.lang.Object value)
|
void |
setValue(java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FlowPropertyResolver(javax.faces.el.PropertyResolver resolverDelegate)
A JSF implementation will automatically pass its original resolver into the constructor of a configured resolver, provided that there is a corresponding constructor argument.
resolverDelegate - the original VariableResolver| Method Detail |
|---|
public java.lang.Class getType(java.lang.Object base,
int index)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
getType in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public java.lang.Class getType(java.lang.Object base,
java.lang.Object property)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
getType in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public java.lang.Object getValue(java.lang.Object base,
int index)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
getValue in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public java.lang.Object getValue(java.lang.Object base,
java.lang.Object property)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
getValue in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public boolean isReadOnly(java.lang.Object base,
int index)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
isReadOnly in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public boolean isReadOnly(java.lang.Object base,
java.lang.Object property)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
isReadOnly in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public void setValue(java.lang.Object base,
int index,
java.lang.Object value)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
setValue in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundException
public void setValue(java.lang.Object base,
java.lang.Object property,
java.lang.Object value)
throws javax.faces.el.EvaluationException,
javax.faces.el.PropertyNotFoundException
setValue in class javax.faces.el.PropertyResolverjavax.faces.el.EvaluationException
javax.faces.el.PropertyNotFoundExceptionprotected org.springframework.web.context.WebApplicationContext getWebApplicationContext(javax.faces.context.FacesContext facesContext)
Default implementation delegates to FacesContextUtils.
facesContext - the current JSF context
null)FacesContextUtils.getRequiredWebApplicationContext(javax.faces.context.FacesContext)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||