[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 03:02:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tomas Remes updated WFLY-6617:
------------------------------
    Forum Reference: https://developer.jboss.org/thread/269770


> 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