com.caucho.el
Class EnvironmentELResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by com.caucho.el.EnvironmentELResolver

public class EnvironmentELResolver
extends ELResolver

Creates a variable resolver based on the classloader.


Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Method Summary
static EnvironmentELResolver create()
          Creates the resolver
static EnvironmentELResolver create(java.lang.ClassLoader loader)
          Creates the resolver
 java.lang.Class<?> getCommonPropertyType(ELContext context, java.lang.Object base)
           
 java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context, java.lang.Object base)
           
 java.lang.Class<?> getType(ELContext context, java.lang.Object base, java.lang.Object property)
          Returns the named variable value.
 java.lang.Object getValue(ELContext context, java.lang.Object base, java.lang.Object property)
          Returns the named variable value.
 boolean isReadOnly(ELContext context, java.lang.Object base, java.lang.Object property)
          Returns true for read-only.
 void setValue(ELContext context, java.lang.Object base, java.lang.Object property, java.lang.Object value)
          Sets the value for the named variable.
 java.lang.String toString()
           
 
Methods inherited from class javax.el.ELResolver
invoke
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

create

public static EnvironmentELResolver create()
Creates the resolver


create

public static EnvironmentELResolver create(java.lang.ClassLoader loader)
Creates the resolver


isReadOnly

public boolean isReadOnly(ELContext context,
                          java.lang.Object base,
                          java.lang.Object property)
Returns true for read-only.

Specified by:
isReadOnly in class ELResolver

getType

public java.lang.Class<?> getType(ELContext context,
                                  java.lang.Object base,
                                  java.lang.Object property)
Returns the named variable value.

Specified by:
getType in class ELResolver

getCommonPropertyType

public java.lang.Class<?> getCommonPropertyType(ELContext context,
                                                java.lang.Object base)
Specified by:
getCommonPropertyType in class ELResolver

getFeatureDescriptors

public java.util.Iterator<java.beans.FeatureDescriptor> getFeatureDescriptors(ELContext context,
                                                                              java.lang.Object base)
Specified by:
getFeatureDescriptors in class ELResolver

getValue

public java.lang.Object getValue(ELContext context,
                                 java.lang.Object base,
                                 java.lang.Object property)
Returns the named variable value.

Specified by:
getValue in class ELResolver

setValue

public void setValue(ELContext context,
                     java.lang.Object base,
                     java.lang.Object property,
                     java.lang.Object value)
Sets the value for the named variable.

Specified by:
setValue in class ELResolver

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object