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

Constructor-level interceptor bindings not considered

XMLWordPrintable

    • Icon: Tracker Tracker
    • Resolution: Done
    • Icon: Blocker Blocker
    • 1.1.FD
    • 1.1.PFD
    • Interceptors
    • None
    • Release Notes

      For example:

      If an interceptor for lifecycle callbacks declares an interceptor binding type that not defined @Target(TYPE), the container
      automatically detects the problem and treats it as a definition error.

      An interceptor that declares an @AroundConstruct interceptor method is an interceptor for a lifecycle callback yet it makes sense to define the binding as @Target(CONSTRUCTOR).

            pmuiratbleepbleep Pete Muir (Inactive)
            rhn-engineering-jharting Jozef Hartinger
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: