public abstract class AbstractSessionBeanStore extends AttributeBeanStore
LazySessionBeanStore,
EagerSessionBeanStore| Constructor and Description |
|---|
AbstractSessionBeanStore(NamingScheme namingScheme) |
| Modifier and Type | Method and Description |
|---|---|
<T> org.jboss.weld.context.api.ContextualInstance<T> |
get(String id)
Gets an instance of a contextual from the store
|
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
|
protected LockStore |
getLockStore() |
protected abstract javax.servlet.http.HttpSession |
getSession(boolean create) |
protected void |
removeAttribute(String key)
Removes an attribute from the underlying storage
|
protected void |
setAttribute(String key,
Object instance)
Sets an instance under a key in the underlying storage
|
attach, clear, contains, detach, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, lock, putpublic AbstractSessionBeanStore(NamingScheme namingScheme)
protected abstract javax.servlet.http.HttpSession getSession(boolean create)
protected Collection<String> getAttributeNames()
AttributeBeanStoregetAttributeNames in class AttributeBeanStoreprotected void removeAttribute(String key)
AttributeBeanStoreremoveAttribute in class AttributeBeanStorekey - The (prefixed) id of the attribute to removeprotected void setAttribute(String key, Object instance)
AttributeBeanStoresetAttribute in class AttributeBeanStorekey - The (prefixed) id of the attribute to setinstance - The instancepublic <T> org.jboss.weld.context.api.ContextualInstance<T> get(String id)
BeanStoreget in interface BeanStoreget in class AttributeBeanStoreid - The id of the contextual to returnprotected Object getAttribute(String prefixedId)
AttributeBeanStoregetAttribute in class AttributeBeanStoreprefixedId - The (prefixed) id of the attributeprotected LockStore getLockStore()
getLockStore in class AttributeBeanStoreCopyright © 2014 Seam Framework. All Rights Reserved.