public class SessionMapBeanStore extends MapBeanStore
MapBeanStore whose LockStore is associated with the key in the provided map and so may be shared across several
stores used within a single "session". Moreover BeanStore.get(BeanIdentifier) not only searches the cached bean store in AttributeBeanStore
but also the underlying map.WELD-1575lockStore| Constructor and Description |
|---|
SessionMapBeanStore(NamingScheme namingScheme,
java.util.Map<java.lang.String,java.lang.Object> delegate) |
| Modifier and Type | Method and Description |
|---|---|
<T> ContextualInstance<T> |
get(BeanIdentifier id)
Gets an instance of a contextual from the store
|
LockStore |
getLockStore() |
getAttribute, getAttributeNames, removeAttribute, setAttributeattach, clear, contains, detach, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, lock, put, removepublic SessionMapBeanStore(NamingScheme namingScheme, java.util.Map<java.lang.String,java.lang.Object> delegate)
public <T> ContextualInstance<T> get(BeanIdentifier id)
BeanStoreget in interface BeanStoreget in class AttributeBeanStoreid - The id of the contextual to returnpublic LockStore getLockStore()
getLockStore in class MapBeanStoreCopyright © 2015. All Rights Reserved.