Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.jboss.weld.context.beanstore.http;
 import  javax.servlet.http.HttpSession;

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

Nicklas Karlsson
David Allen
Pete Muir
See also:
    private final HttpSession session;
    public EagerSessionBeanStore(NamingScheme namingScheme, HttpSession session) {
        this. = session;
    protected HttpSession getSession(boolean create) {
        return ;
New to GrepCode? Check out our FAQ X