[cdi-dev] [JBoss JIRA] (CDI-443) Clarify "10.4.1. Event parameter of an observer method"

Martin Kouba (JIRA) issues at jboss.org
Tue Jun 17 07:37:24 EDT 2014


     [ https://issues.jboss.org/browse/CDI-443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Kouba updated CDI-443:
-----------------------------

    Summary: Clarify "10.4.1. Event parameter of an observer method"  (was: Clarify 10.4.1. Event parameter of an observer method)


> Clarify "10.4.1. Event parameter of an observer method"
> -------------------------------------------------------
>
>                 Key: CDI-443
>                 URL: https://issues.jboss.org/browse/CDI-443
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>    Affects Versions: 1.2.Final
>            Reporter: Martin Kouba
>
> 10.4.1. Event parameter of an observer method:
> {quote}
> If the event parameter does not explicitly declare any qualifier, the observer method observes events with no qualifier.
> {quote}
> 10.3. Observer resolution:
> {quote}
> An event is delivered to an observer method if:
> * ...
> * The observer method has no event qualifiers or has a subset of the event qualifiers. ...
> {quote}
> I find this quite confusing. The statement from 10.4.1 should be either removed or reworded. In fact, the observer method with no qualifier observes events with any qualifier.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the cdi-dev mailing list