[cdi-dev] [JBoss JIRA] Commented: (CDI-2) Interceptor bindings defined at method level should override those at the class level

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon May 23 13:54:01 EDT 2011


    [ https://issues.jboss.org/browse/CDI-2?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12603724#comment-12603724 ] 

Pete Muir commented on CDI-2:
-----------------------------

I'm not sure why we are defining what a non-binding property must do given we declare that it is not actually relevant to this.

Otherwise I like it and look forward to seeing it written up :-)

> Interceptor bindings defined at method level should override those at the class level
> -------------------------------------------------------------------------------------
>
>                 Key: CDI-2
>                 URL: https://issues.jboss.org/browse/CDI-2
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Interceptors
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Assignee: Marius Bogoevici
>             Fix For: 1.1 (Proposed)
>
>
> Gavin said:
> "We certainly *intended* for method-level interceptor bindings to override bindings declared at the class level, but whether we actually wrote that down is another story. It certainly doesn't look like that behavior is properly defined in the latest version of the spec."
> In section 9.5.2 of the spec:
> If the set of interceptor bindings of a bean or interceptor, including bindings inherited from stereotypes and other interceptor bindings, has two instances of a certain interceptor binding type and the instances have different values of some annotation member, the container automatically detects the problem and treats it as a definition error.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list