Uploaded image for project: 'DeltaSpike'
  1. DeltaSpike
  2. DELTASPIKE-676

ServletContext is available for injection before EventBridgeContextListener

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0.1
    • 1.0.2
    • Servlet-Module
    • None
    • Tomcat + WELD

    Description

      Servlet Context is not available for injection in @observe @Initialized ServletContext servletContext event.

      I suggest put EventBridgeContextListener after ServletContextHolderListener in web-fragment.xml.

      Deeply in my code, I need servletContext to do the work. The servletContext is injected from CDI using @initialized qualifier.

      Attachments

        Activity

          People

            chkal Christian Kaltepoth
            jasonzhang2002@gmail.com jason zhang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: