Package org.jbpm.services.ejb.remote.api
Class RemoteMap
- java.lang.Object
-
- org.jbpm.services.ejb.remote.api.AbstractRemoteObject
-
- org.jbpm.services.ejb.remote.api.RemoteMap
-
- All Implemented Interfaces:
Serializable,Map<String,Object>
public class RemoteMap extends AbstractRemoteObject implements Map<String,Object>, Serializable
DedicatedMapimplementation to simplify remote invocation of service methods that accept custom object input. This map is backed by an internal map that holds already serialized content to avoid additional serialization on sending time. That removes the burden of ensuring that container will know about all custom data model classes as part of global classpath. This implementation does not support all methods that are usually not used when sending data. It shall be considered only as a wrapper and not actual and complete implementation of a map.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoteMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()booleancontainsKey(Object key)booleancontainsValue(Object arg0)Set<Map.Entry<String,Object>>entrySet()Objectget(Object key)booleanisEmpty()Set<String>keySet()Objectput(String key, Object value)voidputAll(Map<? extends String,? extends Object> input)Objectremove(Object key)intsize()Collection<Object>values()-
Methods inherited from class org.jbpm.services.ejb.remote.api.AbstractRemoteObject
deserialize, serialize, setClassLoader
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
-
-
-
Method Detail
-
containsKey
public boolean containsKey(Object key)
- Specified by:
containsKeyin interfaceMap<String,Object>
-
containsValue
public boolean containsValue(Object arg0)
- Specified by:
containsValuein interfaceMap<String,Object>
-
-