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

Interceptor ordering ambiguous

XMLWordPrintable

    • Icon: Clarification Clarification
    • Resolution: Done
    • Icon: Major Major
    • 1.1.FD
    • 1.1.PFD
    • Interceptors
    • None
    • Release Notes

      Interceptors declared using @Interceptors, declared in ejb-jar.xml or enabled using @Priority are called before
      interceptors enabled using beans.xml.

      The statement does not provide an absolute ordering of the various types of interceptor enablement but only a partial one that states that interceptors enabled using beans.xml are called last.

      To make this section clear the specification should either:
      a) only state the order of @Priority interceptors relatively to beans.xml interceptors (the rest can be implied from the interceptors spec), or
      b) provide absolute ordering between @Interceptors, ejb-jar.xml, @Priority and beans.xml types of interceptor enablement

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

              Created:
              Updated:
              Resolved: