[cdi-dev] [JBoss JIRA] (CDI-349) Clarify the set of interceptor bindings for a method
Martin Kouba (JIRA)
jira-events at lists.jboss.org
Wed Mar 13 06:16:42 EDT 2013
Martin Kouba created CDI-349:
--------------------------------
Summary: Clarify the set of interceptor bindings for a method
Key: CDI-349
URL: https://issues.jboss.org/browse/CDI-349
Project: CDI Specification Issues
Issue Type: Clarification
Reporter: Martin Kouba
Assignee: Pete Muir
Fix For: 1.1.FD
9.3 "Binding an interceptor to a bean", following sentence doesn't make much sense IMHO:
{quote}
The set of interceptor bindings for a method are those declared at class level includes those declared on stereotypes.
{quote}
The Interceptors 1.2 spec, 3.3 "Binding an Interceptor to a Component", states:
{quote}
The set of interceptor bindings for a method are those declared at class level combined with those declared at method level.
{quote}
The CDI spec partially "overrides" the Interceptors spec (ommits bindings declared at method level). We should either "override" the whole sentence (and include bindings declared at method level) or reword the sentence in the CDI spec to only define stereotypes as other source of interceptor bindings. I am in favor the latter.
--
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