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

Jozef Hartinger (JIRA) jira-events at lists.jboss.org
Sun Apr 7 06:36:42 EDT 2013


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

Jozef Hartinger commented on CDI-36:
------------------------------------

ObserverMethod.notify(T event, Set<Annotation> qualifiers) was removed and no other version of the notify() method was introduced because that would break backwards compatibility with existing ObserverMethod implementations.

See https://github.com/jboss/cdi/blob/master/api/src/main/java/javax/enterprise/inject/spi/ObserverMethod.java
                
> 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