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

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

      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()

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

                Created:
                Updated:
                Resolved: