org.apache.myfaces.el
Class VariableResolverImpl

java.lang.Object
  extended by javax.faces.el.VariableResolver
      extended by org.apache.myfaces.el.VariableResolverImpl

public final class VariableResolverImpl
extends VariableResolver

This variable resolver will be used for legacy variable resolvers which are registered through the faces config. If it is invoked through the faces chain it will use the el resolver of Application.getELResolver(). If it is invoked through the jsp chain it will create an value expression through Application.getExpressionFactory() to resolve the variable.

Version:
$Revision: 1187700 $ $Date: 2011-10-22 07:19:37 -0500 (Sat, 22 Oct 2011) $
Author:
Manfred Geiler (latest modification by $Author: bommel $), Anton Koinov, Mathias Broekelmann

Constructor Summary
VariableResolverImpl()
           
 
Method Summary
protected  FacesCompositeELResolver.Scope getScope(FacesContext context)
           
 Object resolveVariable(FacesContext context, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableResolverImpl

public VariableResolverImpl()
Method Detail

resolveVariable

public Object resolveVariable(FacesContext context,
                              String name)
                       throws EvaluationException
Specified by:
resolveVariable in class VariableResolver
Throws:
EvaluationException

getScope

protected FacesCompositeELResolver.Scope getScope(FacesContext context)


Copyright © 2014 The Apache Software Foundation. All Rights Reserved.