[weld-issues] [JBoss JIRA] (CDITCK-235) Add tests for BM injection into container event observers

Martin Kouba (JIRA) jira-events at lists.jboss.org
Mon Apr 16 12:57:19 EDT 2012


     [ https://issues.jboss.org/browse/CDITCK-235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kouba resolved CDITCK-235.
---------------------------------

         Assignee: Martin Kouba
    Fix Version/s: 1.1.0.Alpha2
                       (was: 1.1.0.CR1)
       Resolution: Done


Resolved as a part of EE modularity tests:
org.jboss.cdi.tck.tests.deployment.packaging.war.modules.WebArchiveModulesTest
org.jboss.cdi.tck.tests.deployment.packaging.ear.modules.EnterpriseArchiveModulesTest

                
> 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
>            Assignee: Martin Kouba
>             Fix For: 1.1.0.Alpha2
>
>
> {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

        


More information about the weld-issues mailing list