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) |
getAttribute, getAttributeNames, removeAttribute, setAttribute
attach, clear, contains, detach, get, getNamingScheme, getPrefixedAttributeNames, isAttached, iterator, put
public EagerSessionBeanStore(NamingScheme namingScheme, javax.servlet.http.HttpSession session)
protected javax.servlet.http.HttpSession getSession(boolean create)
getSession
in class AbstractSessionBeanStore
Copyright © 2012 Seam Framework. All Rights Reserved.