public abstract class AbstractSessionBeanStore extends AttributeBeanStore
LazySessionBeanStore,
EagerSessionBeanStore| Constructor and Description |
|---|
AbstractSessionBeanStore(NamingScheme namingScheme) |
| Modifier and Type | Method and Description |
|---|---|
<T> ContextualInstance<T> |
get(BeanIdentifier id)
Gets an instance of a contextual from the store
|
protected java.lang.Object |
getAttribute(java.lang.String prefixedId)
Gets an attribute from the underlying storage
|
protected java.util.Collection<java.lang.String> |
getAttributeNames()
Gets an enumeration of the attribute names present in the underlying
storage.
|
protected LockStore |
getLockStore() |
protected abstract HttpSession |
getSession(boolean create) |
protected void |
removeAttribute(java.lang.String key)
Removes an attribute from the underlying storage
|
protected void |
setAttribute(java.lang.String key,
java.lang.Object instance)
Sets an instance under a key in the underlying storage
|
attach, clear, contains, detach, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, lock, put, removepublic AbstractSessionBeanStore(NamingScheme namingScheme)
protected abstract HttpSession getSession(boolean create)
protected java.util.Collection<java.lang.String> getAttributeNames()
AttributeBeanStoregetAttributeNames in class AttributeBeanStoreprotected void removeAttribute(java.lang.String key)
AttributeBeanStoreremoveAttribute in class AttributeBeanStorekey - The (prefixed) id of the attribute to removeprotected void setAttribute(java.lang.String key,
java.lang.Object instance)
AttributeBeanStoresetAttribute in class AttributeBeanStorekey - The (prefixed) id of the attribute to setinstance - The instancepublic <T> ContextualInstance<T> get(BeanIdentifier id)
BeanStoreget in interface BeanStoreget in class AttributeBeanStoreid - The id of the contextual to returnprotected java.lang.Object getAttribute(java.lang.String prefixedId)
AttributeBeanStoregetAttribute in class AttributeBeanStoreprefixedId - The (prefixed) id of the attributeprotected LockStore getLockStore()
getLockStore in class AttributeBeanStoreCopyright © 2015. All Rights Reserved.