com.caucho.el
Class SystemPropertiesResolver
java.lang.Object
javax.el.ELResolver
com.caucho.el.AbstractVariableResolver
com.caucho.el.SystemPropertiesResolver
public class SystemPropertiesResolver
- extends AbstractVariableResolver
Variable resolver using the system properties (@link System#getProperty()}
and the environment System@getenv()
.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SystemPropertiesResolver
public SystemPropertiesResolver()
- Creates the resolver
SystemPropertiesResolver
public SystemPropertiesResolver(ELResolver next)
- Creates the resolver
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