]
Pete Muir resolved CDI-355.
---------------------------
Assignee: Pete Muir
Resolution: Done
Thanks, fixed :-)
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
Assignee: Pete Muir
Fix For: 1.1.FD
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: