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

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sat Apr 30 15:26:18 EDT 2011


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

Mark Struberg commented on CDI-7:
---------------------------------

Like to clarify before I get it wrong:

If I have a 

void doDings(@Observes @QualA @QualB @QualC MyEvent ev) {...}

Question now is if this method should get invoked if the fired MyEvent has
a) ALL the given qualifiers
b) ONE of the given qualifiers
 
choose one :)

> 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