public class EagerSessionBeanStore extends AbstractSessionBeanStore
A BeanStore that uses a HTTP session as backing storage. This bean store is automatically attached when created.
This bean store is backed by an HttpSession directly. If you want a bean
store that only requires session creation when an instance must be written,
use LazySessionBeanStore
.
This class is not threadsafe
LazySessionBeanStore
Constructor and Description |
---|
EagerSessionBeanStore(NamingScheme namingScheme,
javax.servlet.http.HttpSession session) |
Modifier and Type | Method and Description |
---|---|
protected javax.servlet.http.HttpSession |
getSession(boolean create) |
get, getAttribute, getAttributeNames, getLockStore, removeAttribute, setAttribute
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 EagerSessionBeanStore(NamingScheme namingScheme, javax.servlet.http.HttpSession session)
protected javax.servlet.http.HttpSession getSession(boolean create)
getSession
in class AbstractSessionBeanStore
Copyright © 2016. All rights reserved.