[weld-issues] [JBoss JIRA] Commented: (WELD-860) Fired events are observed by any match.
Pete Muir (JIRA)
jira-events at lists.jboss.org
Fri Feb 25 05:59:05 EST 2011
[ https://issues.jboss.org/browse/WELD-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12584710#comment-12584710 ]
Pete Muir commented on WELD-860:
--------------------------------
This is per the spec - see http://docs.jboss.org/cdi/spec/1.0/html/events.html#d0e6742. There is however some contradictory statements in the spec (see CDI-7), but all evidence points towards this behavior being desired.
> Fired events are observed by any match.
> ---------------------------------------
>
> Key: WELD-860
> URL: https://issues.jboss.org/browse/WELD-860
> Project: Weld
> Issue Type: Bug
> Affects Versions: 1.1.0.CR3
> Environment: JBoss AS 6, Weld 1.1 CR3
> Reporter: John Ament
>
> Using the gist as an example code base: https://gist.github.com/843239
> One expects that when observes are invoked, they match the exact qualifiers of the injected event, however weld is doing any possible match when choosing observer methods.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list