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 Object |
getAttribute(String prefixedId)
Gets an attribute from the underlying storage
|
protected Iterator<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(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, isLocalBeanStoreSyncNeeded, iterator, lock, put, removeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic AbstractSessionBeanStore(NamingScheme namingScheme)
protected abstract HttpSession getSession(boolean create)
protected Iterator<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> ContextualInstance<T> get(BeanIdentifier 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 © 2015. All Rights Reserved.