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

CDI injection not working in WebListeners

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • 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

        Issue Links

          Activity

            People

              marius.bogoevici Marius Bogoevici (Inactive)
              archimedes.trajano Archimedes Trajano (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: