Add tests for BM injection into container event observers
---------------------------------------------------------
Key: CDITCK-235
URL:
https://issues.jboss.org/browse/CDITCK-235
Project: CDI TCK
Issue Type: Feature Request
Security Level: Public (Everyone can see)
Components: Tests
Affects Versions: 1.0.4.Final
Reporter: Jozef Hartinger
Fix For: 1.1.0.CR1
{quote}Service providers may have observer methods, which may observe any event, including
any container lifecycle event, and
obtain an injected BeanManager reference.{quote}
It's probably a failure to inject BeanManager in BeforeBeanDiscovery which causes
https://issues.apache.org/jira/browse/TOMEE-33
Currently, the TCK tests the BM injection for the following types of events:
* AfterBeanDiscovery
* AfterDeploymentValidation
We should extend the coverage and test every kind of container lifecycle event
(BeforeBeanDiscovery, ProcessAnnotatedType, ...).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see:
http://www.atlassian.com/software/jira