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,
HttpSession session) |
Modifier and Type | Method and Description |
---|---|
protected HttpSession |
getSession(boolean create) |
get, getAttribute, getAttributeNames, getLockStore, removeAttribute, setAttribute
attach, clear, contains, detach, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, lock, put, remove
public EagerSessionBeanStore(NamingScheme namingScheme, HttpSession session)
protected HttpSession getSession(boolean create)
getSession
in class AbstractSessionBeanStore
Copyright © 2013 Seam Framework. All Rights Reserved.