org.ogf.graap.wsag.server.monitoring
Class JEXLWSAG4JContext
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<String,Object>
org.ogf.graap.wsag.server.monitoring.JEXLWSAG4JContext
- All Implemented Interfaces:
- Serializable, Cloneable, Map<String,Object>, org.apache.commons.jexl2.JexlContext
public class JEXLWSAG4JContext
- extends HashMap<String,Object>
- implements org.apache.commons.jexl2.JexlContext
An implementation of the JexlContext
. In contrast to the default implementation this specific
implementation throws an IllegalStateException
if a non-existing variable is resolved from the
context. This prevents that default values are used for non-existing variables during expression
evaluation.
- Author:
- Oliver Waeldrich
- See Also:
- Serialized Form
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
JEXLWSAG4JContext
public JEXLWSAG4JContext()
setVars
public void setVars(Map<String,Object> map)
- Sets a list variables for this context at once.
- Parameters:
map
- the parameters to set- See Also:
JexlContext.set(String, Object)
get
public Object get(String key)
-
- Specified by:
get
in interface org.apache.commons.jexl2.JexlContext
has
public boolean has(String key)
-
- Specified by:
has
in interface org.apache.commons.jexl2.JexlContext
- See Also:
JexlContext.has(java.lang.String)
set
public void set(String name,
Object value)
-
- Specified by:
set
in interface org.apache.commons.jexl2.JexlContext
- See Also:
JexlContext.set(java.lang.String, java.lang.Object)
Copyright © 2008-2012. All Rights Reserved.