public class MapBeanStore extends AttributeBeanStore
Constructor and Description |
---|
MapBeanStore(NamingScheme namingScheme,
Map<String,Object> delegate) |
Modifier and Type | Method and Description |
---|---|
protected Object |
getAttribute(String prefixedId)
Gets an attribute from the underlying storage
|
protected Collection<String> |
getAttributeNames()
Gets an enumeration of the attribute names present in the underlying
storage
|
LockStore |
getLockStore() |
protected void |
removeAttribute(String prefixedId)
Removes an attribute from the underlying storage
|
protected void |
setAttribute(String prefixedId,
Object instance)
Sets an instance under a key in the underlying storage
|
attach, clear, contains, detach, get, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, lock, put, remove
protected transient volatile LockStore lockStore
public MapBeanStore(NamingScheme namingScheme, Map<String,Object> delegate)
protected Object getAttribute(String prefixedId)
AttributeBeanStore
getAttribute
in class AttributeBeanStore
prefixedId
- The (prefixed) id of the attributeprotected void removeAttribute(String prefixedId)
AttributeBeanStore
removeAttribute
in class AttributeBeanStore
prefixedId
- The (prefixed) id of the attribute to removeprotected Collection<String> getAttributeNames()
AttributeBeanStore
getAttributeNames
in class AttributeBeanStore
protected void setAttribute(String prefixedId, Object instance)
AttributeBeanStore
setAttribute
in class AttributeBeanStore
prefixedId
- The (prefixed) id of the attribute to setinstance
- The instancepublic LockStore getLockStore()
getLockStore
in class AttributeBeanStore
Copyright © 2014. All Rights Reserved.