Uploaded image for project: 'CDI Specification Issues'
  1. CDI Specification Issues
  2. CDI-349

Clarify the set of interceptor bindings for a method

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Major Major
    • 1.1.FD
    • None
    • None
    • None

      9.3 "Binding an interceptor to a bean", following sentence doesn't make much sense IMHO:

      The set of interceptor bindings for a method are those declared at class level includes those declared on stereotypes.

      The Interceptors 1.2 spec, 3.3 "Binding an Interceptor to a Component", states:

      The set of interceptor bindings for a method are those declared at class level combined with those declared at method level.

      The CDI spec partially "overrides" the Interceptors spec (ommits bindings declared at method level). We should either "override" the whole sentence (and include bindings declared at method level) or reword the sentence in the CDI spec to only define stereotypes as other source of interceptor bindings. I am in favor the latter.

              pmuiratbleepbleep Pete Muir (Inactive)
              mkouba@redhat.com Martin Kouba
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: