[weld-issues] [JBoss JIRA] Commented: (WELD-860) Fired events are observed by any match.

2011-02-25 Thread Pete Muir (JIRA)

[ 
https://issues.jboss.org/browse/WELD-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=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
___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues


[weld-issues] [JBoss JIRA] Commented: (WELD-860) Fired events are observed by any match.

2011-02-24 Thread John Ament (JIRA)

[ 
https://issues.jboss.org/browse/WELD-860?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12584644#comment-12584644
 ] 

John Ament commented on WELD-860:
-

Documentation impact: the behaviour of this code is in direct contradiction of 
http://docs.jboss.org/weld/reference/1.1.0.Final/en-US/html_single/#d0e4045 in 
the weld guide.

 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
___
weld-issues mailing list
weld-issues@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/weld-issues