SpringBeanFacesELResolver
@Deprecated public class SpringBeanVariableResolver extends DelegatingVariableResolver
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(javax.faces.context.FacesContext)
logger, originalVariableResolver
Constructor and Description |
---|
SpringBeanVariableResolver(VariableResolver originalVariableResolver)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Object |
resolveVariable(FacesContext facesContext,
String name)
Deprecated.
Delegate to the original VariableResolver first, then try to
resolve the variable as Spring bean in the root WebApplicationContext.
|
getBeanFactory, getOriginalVariableResolver, getWebApplicationContext, resolveOriginal, resolveSpringBean
public SpringBeanVariableResolver(VariableResolver originalVariableResolver)
public Object resolveVariable(FacesContext facesContext, String name) throws EvaluationException
DelegatingVariableResolver
resolveVariable
in class DelegatingVariableResolver
EvaluationException