[jboss-jira] [JBoss JIRA] Updated: (JBAS-8818) CDI injection not working in WebListeners

Shelly McGowan (JIRA) jira-events at lists.jboss.org
Tue Aug 2 15:39:24 EDT 2011


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

Shelly McGowan updated JBAS-8818:
---------------------------------

    Fix Version/s:     (was: 6.1.0)


> CDI injection not working in WebListeners
> -----------------------------------------
>
>                 Key: JBAS-8818
>                 URL: https://issues.jboss.org/browse/JBAS-8818
>             Project: Legacy JBoss Application Server 6 
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Weld/CDI
>    Affects Versions: 6.0.0.Final
>            Reporter: Nicklas Karlsson
>            Assignee: Marius Bogoevici
>
> CDI injection is not performed for WebListeners, e.g.
> @WebListener
> public class BugListener implements HttpSessionListener
> {
>    @Inject
>    BeanManager beanManager;
>    ...
> }
> Will have beanManager==null when the methods are hit

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list