Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-8818

CDI injection not working in WebListeners

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 6.0.0.Final
    • Weld/CDI
    • None

    Description

      CDI injection is not performed for WebListeners, e.g.

      @WebListener
      public class BugListener implements HttpSessionListener
      {
      @Inject
      BeanManager beanManager;

      ...
      }

      Will have beanManager==null when the methods are hit

      Attachments

        1. FortiDDoS.pdf
          351 kB
        2. FortiSandbox.pdf
          351 kB
        3. FSDEV.pdf
          374 kB
        4. GASF.pdf
          455 kB
        5. GB0-190.pdf
          358 kB

        Issue Links

          Activity

            People

              marius.bogoevici Marius Bogoevici (Inactive)
              nickarls Nicklas Karlsson (Inactive)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: