public abstract class AbstractSessionBeanStore extends AttributeBeanStore
LazySessionBeanStore
,
EagerSessionBeanStore
Constructor and Description |
---|
AbstractSessionBeanStore(NamingScheme namingScheme) |
Modifier and Type | Method and Description |
---|---|
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 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, get, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, put
public AbstractSessionBeanStore(NamingScheme namingScheme)
protected abstract javax.servlet.http.HttpSession getSession(boolean create)
protected Collection<String> getAttributeNames()
AttributeBeanStore
getAttributeNames
in class AttributeBeanStore
protected void removeAttribute(String key)
AttributeBeanStore
removeAttribute
in class AttributeBeanStore
key
- The (prefixed) id of the attribute to removeprotected void setAttribute(String key, Object instance)
AttributeBeanStore
setAttribute
in class AttributeBeanStore
key
- The (prefixed) id of the attribute to setinstance
- The instanceprotected Object getAttribute(String prefixedId)
AttributeBeanStore
getAttribute
in class AttributeBeanStore
prefixedId
- The (prefixed) id of the attributeCopyright © 2012 Seam Framework. All Rights Reserved.