org.apache.myfaces.el
Class VariableResolverImpl

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

public class VariableResolverImpl
extends VariableResolver

Version:
$Revision: 472618 $ $Date: 2006-11-08 15:06:54 -0500 (Wed, 08 Nov 2006) $
Author:
Manfred Geiler (latest modification by $Author: grantsmith $), Anton Koinov

Field Summary
protected  Map _implicitObjects
          Stores all implicit objects defined for this instance of VariableResolver
protected  Map _scopes
          Stores all scopes defined for this instance of VariableResolver
static Map s_standardImplicitObjects
           
protected static Map s_standardScopes
           
 
Constructor Summary
VariableResolverImpl()
           
 
Method Summary
protected  RuntimeConfig getRuntimeConfig(FacesContext facesContext)
           
 Object resolveVariable(FacesContext facesContext, String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

s_standardImplicitObjects

public static final Map s_standardImplicitObjects

_implicitObjects

protected final Map _implicitObjects
Stores all implicit objects defined for this instance of VariableResolver

Can store instances of ImplicitObject which have the ability to dynamically resolve against FacesContext. Can also store any other object which itself is the value for the implicit object (this in effect will be a static object).

WARNING: this implementation is not serialized as it is thread safe because it does not update/add to _implicitObjects after object initialization. If you need to add your own implicit objects, either extend and add more in an initialization block, or add proper sychronization


s_standardScopes

protected static final Map s_standardScopes

_scopes

protected final Map _scopes
Stores all scopes defined for this instance of VariableResolver

Can store instances of Scope which have the ability to dynamically resolve against ExternalContext for put operations.

WARNING: this implementation is not serialized as it is thread safe because it does not update/add to _scopes after object initialization. If you need to add your own scopes, either extend and add more in an initialization block, or add proper sychronization

Constructor Detail

VariableResolverImpl

public VariableResolverImpl()
Method Detail

resolveVariable

public Object resolveVariable(FacesContext facesContext,
                              String name)
Specified by:
resolveVariable in class VariableResolver

getRuntimeConfig

protected RuntimeConfig getRuntimeConfig(FacesContext facesContext)


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