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

Add tests for BM injection into container event observers

XMLWordPrintable

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

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

              mkouba@redhat.com Martin Kouba
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: