[cdi-dev] [JBoss JIRA] (CDI-355) Disconnect between other specs and CDI with regard to when Interceptors and decorators are run

Joe Bergmark (JIRA) jira-events at lists.jboss.org
Mon Mar 18 09:20:43 EDT 2013


Joe Bergmark created CDI-355:
--------------------------------

             Summary: Disconnect between other specs and CDI with regard to when Interceptors and decorators are run
                 Key: CDI-355
                 URL: https://issues.jboss.org/browse/CDI-355
             Project: CDI Specification Issues
          Issue Type: Bug
    Affects Versions: 1.1.PFD
            Reporter: Joe Bergmark


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the cdi-dev mailing list