Constructor and Description |
---|
HashMapScopeAdapter(java.lang.String scopeName,
java.util.Map adaptee) |
Modifier and Type | Method and Description |
---|---|
void |
addScopeListener(ADFScopeListener listener) |
void |
clear() |
boolean |
containsKey(java.lang.Object key) |
boolean |
containsValue(java.lang.Object value) |
java.util.Set |
entrySet() |
java.lang.Object |
get(java.lang.Object key) |
void |
invalidate() |
boolean |
isEmpty() |
java.util.Set |
keySet() |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value) |
void |
putAll(java.util.Map map) |
java.lang.Object |
putTransient(java.lang.Object key,
java.lang.Object value)
If the scope supports failover then this may be used to notify the
scope that the state does not require failover.
|
java.lang.Object |
remove(java.lang.Object key) |
void |
removeScopeListener(ADFScopeListener listener) |
int |
size() |
java.util.Collection |
values() |
public HashMapScopeAdapter(java.lang.String scopeName, java.util.Map adaptee)
public int size()
size
in interface java.util.Map
public void clear()
clear
in interface java.util.Map
public boolean isEmpty()
isEmpty
in interface java.util.Map
public boolean containsKey(java.lang.Object key)
containsKey
in interface java.util.Map
public boolean containsValue(java.lang.Object value)
containsValue
in interface java.util.Map
public java.util.Collection values()
values
in interface java.util.Map
public void putAll(java.util.Map map)
putAll
in interface java.util.Map
public java.util.Set entrySet()
entrySet
in interface java.util.Map
public java.util.Set keySet()
keySet
in interface java.util.Map
public java.lang.Object get(java.lang.Object key)
get
in interface java.util.Map
public java.lang.Object remove(java.lang.Object key)
remove
in interface java.util.Map
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
put
in interface java.util.Map
public java.lang.Object putTransient(java.lang.Object key, java.lang.Object value)
ADFScope
putTransient
in interface ADFScope
key
- map key for transient objectvalue
- map valuepublic void invalidate()
invalidate
in interface ADFScope
public void addScopeListener(ADFScopeListener listener)
addScopeListener
in interface ADFScope
public void removeScopeListener(ADFScopeListener listener)
removeScopeListener
in interface ADFScope