[jboss-jira] [JBoss JIRA] Created: (JBAS-8818) CDI injection not working in WebListeners
Nicklas Karlsson (JIRA)
jira-events at lists.jboss.org
Wed Jan 19 03:23:49 EST 2011
CDI injection not working in WebListeners
-----------------------------------------
Key: JBAS-8818
URL: https://issues.jboss.org/browse/JBAS-8818
Project: JBoss Application Server
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