|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object VariableResolver org.springframework.web.jsf.DelegatingVariableResolver org.springframework.web.jsf.SpringBeanVariableResolver
public class SpringBeanVariableResolver
This is a subclass of the JSF 1.1 DelegatingVariableResolver
,
letting Spring bean definitions override other attributes of the same name.
The main purpose of this class is to provide behavior that is analogous
to the JSF 1.2 SpringBeanFacesELResolver
.
WebApplicationContextVariableResolver
,
FacesContextUtils.getRequiredWebApplicationContext(FacesContext)
Field Summary |
---|
Fields inherited from class org.springframework.web.jsf.DelegatingVariableResolver |
---|
logger, originalVariableResolver |
Constructor Summary | |
---|---|
SpringBeanVariableResolver(VariableResolver originalVariableResolver)
|
Method Summary | |
---|---|
java.lang.Object |
resolveVariable(FacesContext facesContext,
java.lang.String name)
Delegate to the original VariableResolver first, then try to resolve the variable as Spring bean in the root WebApplicationContext. |
Methods inherited from class org.springframework.web.jsf.DelegatingVariableResolver |
---|
getBeanFactory, getOriginalVariableResolver, getWebApplicationContext, resolveOriginal, resolveSpringBean |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpringBeanVariableResolver(VariableResolver originalVariableResolver)
Method Detail |
---|
public java.lang.Object resolveVariable(FacesContext facesContext, java.lang.String name) throws EvaluationException
DelegatingVariableResolver
resolveVariable
in class DelegatingVariableResolver
EvaluationException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |