public class RemoteMap extends AbstractRemoteObject implements Map<String,Object>, Serializable
Map
implementation 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.Constructor and Description |
---|
RemoteMap() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object arg0) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,? extends Object> input) |
Object |
remove(Object key) |
int |
size() |
Collection<Object> |
values() |
deserialize, serialize, setClassLoader
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object arg0)
containsValue
in interface Map<String,Object>
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.