Uploaded image for project: 'Weld'
  1. Weld
  2. WELD-1181

InjectionPoint#getBean() should return null for IP that belongs to non-contextual instance of session bean

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • 2.0.0.CR1
    • 1.1.8.Final, 2.0.0.Alpha3
    • None
    • None

    Description

      See the spec "5.5.7. Injection point metadata":

      ...
      If the injection point does not belong to a bean, getBean() returns a null value.
      ...

      CDI TCK 1.1 test:
      org.jboss.cdi.tck.tests.lookup.injectionpoint.non.contextual.NonContextualInjectionPointTest.testEjbInjectionPointGetBean()

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: