Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6617

Cannot inject session bean with @EJB to JSF PhaseListener

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 12.0.0.Beta1, 12.0.0.Final
    • 10.0.0.Final
    • JSF
    • None

      Having something like following:

      public class TestPhaseListener implements PhaseListener{
      
          @EJB
          TestEJB testEJB;
      
      ....
      }
      

      result to null. Note that CDI injection works. Reading {{5.4.1
      JSF Managed Classes and Java EE Annotations}} in JSF spec I think this should work as well.

              dtikhomi@redhat.com Dmitrii Tikhomirov
              tremes1@redhat.com Tomas Remes
              Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: