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

Disconnect between other specs and CDI with regard to when Interceptors and decorators are run

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.1.FD
    • 1.1.PFD
    • None
    • None

    Description

      Other specifications have text that appears to assume interceptors will run for non-contextual instances.

      The PDF (and CDI 1.0 for that matter) list the following rules to be considered a business method:

      7.2
      Container invocations and interception [biz_method]
      When the application invokes:
      • a method of a bean via a contextual reference to the bean, as defined in Section 6.5.3, or
      • a business method of a session bean via an EJB remote or local reference,

      and then say:

      If, and only if, an invocation is a business method invocation:
      • it passes through method interceptors and decorators, and
      • in the case of a session bean, it is subject to EJB services such as declarative transaction management, concurrency, security
      and asynchronicity, as defined by the EJB specification.

      Attachments

        Activity

          People

            pmuiratbleepbleep Pete Muir (Inactive)
            bergmark_jira Joe Bergmark (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: