public class VariableResolverImpl
extends javax.faces.el.VariableResolver
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
VariableResolverImpl() |
Modifier and Type | Method and Description |
---|---|
protected RuntimeConfig |
getRuntimeConfig(javax.faces.context.FacesContext facesContext) |
Object |
resolveVariable(javax.faces.context.FacesContext facesContext,
String name) |
public static final Map s_standardImplicitObjects
protected final Map _implicitObjects
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
protected static final Map s_standardScopes
protected final Map _scopes
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
public Object resolveVariable(javax.faces.context.FacesContext facesContext, String name)
resolveVariable
in class javax.faces.el.VariableResolver
protected RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)
Copyright © 2013 Apache Software Foundation. All Rights Reserved.