[jboss-jira] [JBoss JIRA] Updated: (JBAS-8818) CDI injection not working in WebListeners
jaikiran pai (JIRA)
jira-events at lists.jboss.org
Tue May 10 01:49:18 EDT 2011
[ https://issues.jboss.org/browse/JBAS-8818?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
jaikiran pai updated JBAS-8818:
-------------------------------
Fix Version/s: 6.1.0
Marking for 6.1.0, so that it can tracked accordingly.
> 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
> Fix For: 6.1.0
>
>
> 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