public class VariableResolverImpl
extends javax.faces.el.VariableResolver
| Modifier and Type | Field and Description |
|---|---|
protected java.util.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 java.util.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 java.util.Map |
s_standardImplicitObjects |
protected static java.util.Map |
s_standardScopes |
| Constructor and Description |
|---|
VariableResolverImpl() |
| Modifier and Type | Method and Description |
|---|---|
protected RuntimeConfig |
getRuntimeConfig(javax.faces.context.FacesContext facesContext) |
java.lang.Object |
resolveVariable(javax.faces.context.FacesContext facesContext,
java.lang.String name) |
public static final java.util.Map s_standardImplicitObjects
protected final java.util.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 java.util.Map s_standardScopes
protected final java.util.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 java.lang.Object resolveVariable(javax.faces.context.FacesContext facesContext,
java.lang.String name)
resolveVariable in class javax.faces.el.VariableResolverprotected RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)