Class EagerSessionBeanStore

  • All Implemented Interfaces:
    Iterable<org.jboss.weld.serialization.spi.BeanIdentifier>, BeanStore, BoundBeanStore

    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

    Author:
    Nicklas Karlsson, David Allen, Pete Muir
    See Also:
    LazySessionBeanStore
    • Constructor Detail

      • EagerSessionBeanStore

        public EagerSessionBeanStore​(NamingScheme namingScheme,
                                     jakarta.servlet.http.HttpSession session,
                                     org.jboss.weld.bootstrap.api.ServiceRegistry serviceRegistry)