Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-235

Add tests for BM injection into container event observers

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Feature Request
    • Status: Resolved
    • Major
    • Resolution: Done
    • 1.0.4.Final
    • 1.1.0.Alpha2
    • Tests
    • None
    • Release Notes

    Description

      Service providers may have observer methods, which may observe any event, including any container lifecycle event, and
      obtain an injected BeanManager reference.

      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, ...).

      Attachments

        Activity

          People

            mkouba@redhat.com Martin Kouba
            rhn-engineering-jharting Jozef Hartinger
            Archiver:
            rhn-support-abdwived Abhishek Dwivedi (Inactive)

            Dates

              Created:
              Updated:
              Resolved:
              Archived: