[cdi-dev] [JBoss JIRA] (CDI-36) ObserverMethod.notify() does not forward qualifiers for Event

Arne Limburg (JIRA) jira-events at lists.jboss.org
Sun Apr 7 05:56:42 EDT 2013


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

Arne Limburg reopened CDI-36:
-----------------------------



Sorry for reopening this issue so close before the start of Final Ballot, but I am afraid we introduced a major inconsistency in the API:
We introduced 
{code}
ObserverMethod.notify(T event, Set<Annotation> qualifiers)
{code}
with this ticket and afterwards introduced EventMetadata.
So the change of this ticket MUST obviously be
{code}
ObserverMethod.notify(T event, EventMetadata metadata)
{code}
                
> ObserverMethod.notify() does not forward qualifiers for Event
> -------------------------------------------------------------
>
>                 Key: CDI-36
>                 URL: https://issues.jboss.org/browse/CDI-36
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>          Components: Events
>    Affects Versions: 1.0
>            Reporter: Jordan Ganoff
>            Assignee: Pete Muir
>             Fix For: 1.1.FD
>
>
> There's currently no way to get the qualifiers for a fired event.  ObserverMethod.notify() only passes the event object itself.  Without the qualifiers it is difficult to bridge the gap between CDI events and some other event infrastructure (e.g. JMS).

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the cdi-dev mailing list