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

Specialized bean does not disable producer method of its parent

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.1.6.Final, 2.0.0.Alpha1
    • 1.1.2.Final
    • None
    • None

      CDI 1.0 spec states: "When an enabled bean, as defined in Section 5.1.2, Enabled and disabled beans, specializes a second bean, we can be certain that the second bean is never instantiated or called by the container. Even if the second bean defines a producer or observer method, the method will never be called."

      Weld fulfills outdated spec - probably 1.0 Public Review Draft. Also TCK test (ProducerMethodDefinitionTest) does.

              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: