[cdi-dev] [JBoss JIRA] Commented: (CDI-7) Section 10.2, bullet 3, first paragraph contradicts the rest of the section

John Ament (JIRA) jira-events at lists.jboss.org
Sun May 8 13:17:18 EDT 2011


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

John Ament commented on CDI-7:
------------------------------

Also, I'm not saying that we shouldn't support abstract event observers.  If we include a qualifier and @Any, then it should act like a partial match, and @Observes @Any Type t should handle any type fired.  But we should also handle injecting the Event object that did the firing to do this, so we can find out all qualifiers on the event.

> Section 10.2, bullet 3, first paragraph contradicts the rest of the section
> ---------------------------------------------------------------------------
>
>                 Key: CDI-7
>                 URL: https://issues.jboss.org/browse/CDI-7
>             Project: CDI Specification Issues
>          Issue Type: Bug
>          Components: Events
>    Affects Versions: 1.0
>            Reporter: Pete Muir
>            Priority: Blocker
>             Fix For: 1.1 (Proposed)
>
>
> "The observer method has all the event qualifiers."
> This contradicts the examples (section 10.2.3) and the use of @Any, all of which indicate that less specific observer methods are also invoked.

--
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