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> org.jboss.weld.context.api.ContextualInstance<T> |
get(org.jboss.weld.serialization.spi.BeanIdentifier id)
Gets an instance of a contextual from the store
|
LockStore |
getLockStore() |
getAttribute, getAttributeNames, removeAttribute, setAttribute
attach, clear, contains, detach, getNamingScheme, getPrefixedAttributeNames, isAttached, 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> org.jboss.weld.context.api.ContextualInstance<T> get(org.jboss.weld.serialization.spi.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 © 2016. All rights reserved.