org.apache.myfaces.el

Class VariableResolverImpl

public class VariableResolverImpl extends VariableResolver

Version: $Revision: 279924 $ $Date: 2005-09-10 02:45:47 +0200 (Sat, 10 Sep 2005) $

Author: Manfred Geiler (latest modification by $Author: oros $) Anton Koinov

Field Summary
static Maps_standardImplicitObjects
protected static Maps_standardScopes
protected 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.

protected 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.

Method Summary
protected RuntimeConfiggetRuntimeConfig(FacesContext facesContext)
ObjectresolveVariable(FacesContext facesContext, String name)

Field Detail

s_standardImplicitObjects

public static final Map s_standardImplicitObjects

s_standardScopes

protected static final Map s_standardScopes

_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

_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

Method Detail

getRuntimeConfig

protected RuntimeConfig getRuntimeConfig(FacesContext facesContext)

resolveVariable

public Object resolveVariable(FacesContext facesContext, String name)