[jboss-jira] [JBoss JIRA] (WFLY-6617) Cannot inject session bean with @EJB to JSF PhaseListener

Tomas Remes (JIRA) issues at jboss.org
Tue May 17 02:59:00 EDT 2016


Tomas Remes created WFLY-6617:
---------------------------------

             Summary: Cannot inject session bean with @EJB to JSF PhaseListener
                 Key: WFLY-6617
                 URL: https://issues.jboss.org/browse/WFLY-6617
             Project: WildFly
          Issue Type: Bug
          Components: JSF
    Affects Versions: 10.0.0.Final
            Reporter: Tomas Remes
            Assignee: Farah Juma


Having something like following:
{code}
public class TestPhaseListener implements PhaseListener{

    @EJB
    TestEJB testEJB;

....
}
{code}
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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list