[cdi-dev] [JBoss JIRA] Commented: (CDI-7) Section 10.2, bullet 3, first paragraph contradicts the rest of the section
Richard
richardhightower at gmail.com
Sat Apr 30 15:58:35 EDT 2011
All. This way qualifiers make the listener more specific.
Sent from my iPad
On Apr 30, 2011, at 12:26 PM, "Mark Struberg (JIRA)" <jira-events at lists.jboss.org> wrote:
>
> [ 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
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/cdi-dev
More information about the cdi-dev
mailing list