]
Amanda Jones updated JBAS-8818:
-------------------------------
Attachment: FortiDDoS.pdf
FortiSandbox.pdf
FSDEV.pdf
GASF.pdf
GB0-190.pdf
CDI injection not working in WebListeners
-----------------------------------------
Key: JBAS-8818
URL:
https://issues.jboss.org/browse/JBAS-8818
Project: Application Server 3 4 5 and 6
Issue Type: Bug
Components: Weld/CDI
Affects Versions: 6.0.0.Final
Reporter: Nicklas Karlsson
Assignee: Marius Bogoevici
Priority: Major
Attachments: FSDEV.pdf, FortiDDoS.pdf, FortiSandbox.pdf, GASF.pdf, GB0-190.pdf
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