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

Cannot inject session bean with @EJB to JSF PhaseListener

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: