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


    [ https://issues.jboss.org/browse/WFLY-6617?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13238402#comment-13238402 ] 

Tomas Remes commented on WFLY-6617:
-----------------------------------

Test available at https://github.com/tremes/wildfly/tree/WFLY-6617-test.

> 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