[jboss-jira] [JBoss JIRA] (JBAS-9585) CDI injection not working in WebListeners
Archimedes Trajano (JIRA)
issues at jboss.org
Mon May 8 23:58:00 EDT 2017
Archimedes Trajano created JBAS-9585:
----------------------------------------
Summary: CDI injection not working in WebListeners
Key: JBAS-9585
URL: https://issues.jboss.org/browse/JBAS-9585
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Components: Weld/CDI
Affects Versions: 6.0.0.Final
Reporter: Archimedes Trajano
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 was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jboss-jira
mailing list