Class HttpSessionBean

  • All Implemented Interfaces:
    javax.enterprise.context.spi.Contextual<javax.servlet.http.HttpSession>, javax.enterprise.inject.spi.Bean<javax.servlet.http.HttpSession>, javax.enterprise.inject.spi.BeanAttributes<javax.servlet.http.HttpSession>, javax.enterprise.inject.spi.PassivationCapable, DecorableBean<javax.servlet.http.HttpSession>, WeldBean<javax.servlet.http.HttpSession>

    public class HttpSessionBean
    extends AbstractStaticallyDecorableBuiltInBean<javax.servlet.http.HttpSession>
    Built-in bean exposing HttpSession.
    Author:
    Jozef Hartinger, Martin Kouba
    • Constructor Detail

    • Method Detail

      • newInstance

        protected javax.servlet.http.HttpSession newInstance​(javax.enterprise.inject.spi.InjectionPoint ip,
                                                             javax.enterprise.context.spi.CreationalContext<javax.servlet.http.HttpSession> creationalContext)
        Specified by:
        newInstance in class AbstractDecorableBuiltInBean<javax.servlet.http.HttpSession>
      • getScope

        public Class<? extends Annotation> getScope()
        Specified by:
        getScope in interface javax.enterprise.inject.spi.BeanAttributes<javax.servlet.http.HttpSession>
        Overrides:
        getScope in class ForwardingBeanAttributes<javax.servlet.http.HttpSession>