Class WeldInitListener

  • All Implemented Interfaces:
    EventListener, HttpSessionListener, ServletContextListener, ServletRequestListener, org.jboss.weld.servlet.api.ServletListener

    public class WeldInitListener
    extends org.jboss.weld.servlet.api.helpers.ForwardingServletListener
    This Piranha specific Weld initializer forwards all initialization to the original Weld initializer, but modifies the HttpServletRequest that's passed into it.

    The purpose of this is making sure Weld is able to access the current HttpServletRequest as that changes throughout the request processing pipeline.

    Arjan Tijms
    See Also:
    WeldHttpServletRequest, CurrentRequestHolder
    • Constructor Detail

      • WeldInitListener

        public WeldInitListener()
    • Method Detail

      • delegate

        public org.jboss.weld.servlet.api.ServletListener delegate()
        Specified by:
        delegate in class org.jboss.weld.servlet.api.helpers.ForwardingServletListener