public class LazyCyclicSessionBeanStore extends LazySessionBeanStore
Constructor and Description |
---|
LazyCyclicSessionBeanStore(javax.servlet.http.HttpServletRequest request,
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 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
|
getSessionIfExists
get, getLockStore
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 LazyCyclicSessionBeanStore(javax.servlet.http.HttpServletRequest request, NamingScheme namingScheme)
protected javax.servlet.http.HttpSession getSession(boolean create)
getSession
in class LazySessionBeanStore
protected Collection<String> getAttributeNames()
AttributeBeanStore
getAttributeNames
in class AbstractSessionBeanStore
protected void removeAttribute(String key)
AttributeBeanStore
removeAttribute
in class AbstractSessionBeanStore
key
- The (prefixed) id of the attribute to removeprotected void setAttribute(String key, Object instance)
AttributeBeanStore
setAttribute
in class AbstractSessionBeanStore
key
- The (prefixed) id of the attribute to setinstance
- The instanceprotected Object getAttribute(String prefixedId)
AttributeBeanStore
getAttribute
in class AbstractSessionBeanStore
prefixedId
- The (prefixed) id of the attributeCopyright © 2016. All rights reserved.