Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.myfaces.el
Class VariableResolverImpl  view VariableResolverImpl download VariableResolverImpl.java

java.lang.Object
  extended byjavax.faces.el.VariableResolver
      extended byorg.apache.myfaces.el.VariableResolverImpl

public class VariableResolverImpl
extends javax.faces.el.VariableResolver

Version:
$Revision: 279924 $ $Date: 2005-09-09 20:45:47 -0400 (Fri, 09 Sep 2005) $

Field Summary
protected  java.util.Map _implicitObjects
          Stores all implicit objects defined for this instance of VariableResolver
private  org.apache.myfaces.config.RuntimeConfig _runtimeConfig
          RuntimeConfig is instantiated once per servlet and never changes--we can safely cache it
protected  java.util.Map _scopes
          Stores all scopes defined for this instance of VariableResolver
private  org.apache.myfaces.config.ManagedBeanBuilder beanBuilder
           
private static java.lang.String BEANS_UNDER_CONSTRUCTION
           
private static org.apache.commons.logging.Log log
           
static java.util.Map s_standardImplicitObjects
           
protected static java.util.Map s_standardScopes
           
 
Constructor Summary
VariableResolverImpl()
           
 
Method Summary
protected  org.apache.myfaces.config.RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)
           
 java.lang.Object resolveVariable(javax.faces.context.FacesContext facesContext, java.lang.String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private static final org.apache.commons.logging.Log log

BEANS_UNDER_CONSTRUCTION

private static final java.lang.String BEANS_UNDER_CONSTRUCTION
See Also:
Constant Field Values

s_standardImplicitObjects

public static final java.util.Map s_standardImplicitObjects

_implicitObjects

protected final 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. 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 java.util.Map s_standardScopes

_scopes

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

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


_runtimeConfig

private org.apache.myfaces.config.RuntimeConfig _runtimeConfig
RuntimeConfig is instantiated once per servlet and never changes--we can safely cache it


beanBuilder

private org.apache.myfaces.config.ManagedBeanBuilder beanBuilder
Constructor Detail

VariableResolverImpl

public VariableResolverImpl()
Method Detail

resolveVariable

public java.lang.Object resolveVariable(javax.faces.context.FacesContext facesContext,
                                        java.lang.String name)

getRuntimeConfig

protected org.apache.myfaces.config.RuntimeConfig getRuntimeConfig(javax.faces.context.FacesContext facesContext)