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-1575
lockStore
Constructor and Description |
---|
SessionMapBeanStore(NamingScheme namingScheme,
Map<String,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, setAttribute
attach, clear, contains, detach, fetchUninitializedAttributes, getNamingScheme, getPrefixedAttributeNames, isAttached, isAttributeLazyFetchingEnabled, isLocalBeanStoreSyncNeeded, iterator, lock, put, remove
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
public SessionMapBeanStore(NamingScheme namingScheme, Map<String,Object> delegate)
public <T> ContextualInstance<T> get(BeanIdentifier id)
BeanStore
get
in interface BeanStore
get
in class AttributeBeanStore
id
- The id of the contextual to returnpublic LockStore getLockStore()
getLockStore
in class MapBeanStore
Copyright © 2015. All Rights Reserved.