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) $
Authors:
Manfred Geiler (latest modification by $Author: oros $)
Anton Koinov

Field Summary

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.

static Map
s_standardImplicitObjects
protected static Map
s_standardScopes

Method Summary

protected RuntimeConfig
getRuntimeConfig(FacesContext facesContext)
Object
resolveVariable(FacesContext facesContext, String name)

Field Details

_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


s_standardImplicitObjects

public static final Map s_standardImplicitObjects

s_standardScopes

protected static final Map s_standardScopes

Method Details

getRuntimeConfig

protected RuntimeConfig getRuntimeConfig(FacesContext facesContext)

resolveVariable

public Object resolveVariable(FacesContext facesContext,
                              String name)