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

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

      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

        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

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

              Created:
              Updated: