com.caucho.el
Class SystemPropertiesResolver

java.lang.Object
  extended by javax.el.ELResolver
      extended by com.caucho.el.AbstractVariableResolver
          extended by com.caucho.el.SystemPropertiesResolver

public class SystemPropertiesResolver
extends AbstractVariableResolver

Variable resolver using the system properties (@link System#getProperty()} and the environment System@getenv().


Field Summary
 
Fields inherited from class javax.el.ELResolver
RESOLVABLE_AT_DESIGN_TIME, TYPE
 
Constructor Summary
SystemPropertiesResolver()
          Creates the resolver
SystemPropertiesResolver(ELResolver next)
          Creates the resolver
 
Method Summary
 java.lang.Object getValue(ELContext env, java.lang.Object base, java.lang.Object property)
          Returns the named variable value.
 java.lang.String toString()
          Returns the system property resolver.
 
Methods inherited from class com.caucho.el.AbstractVariableResolver
getCommonPropertyType, getFeatureDescriptors, getNext, getType, isReadOnly, setValue
 
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
 

Constructor Detail

SystemPropertiesResolver

public SystemPropertiesResolver()
Creates the resolver


SystemPropertiesResolver

public SystemPropertiesResolver(ELResolver next)
Creates the resolver

Method Detail

getValue

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

Overrides:
getValue in class AbstractVariableResolver

toString

public java.lang.String toString()
Returns the system property resolver.

Overrides:
toString in class AbstractVariableResolver