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

Specialized bean does not disable producer method of its parent

    XMLWordPrintable

Details

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

    Description

      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.

      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: