[
https://issues.jboss.org/browse/CDI-7?page=com.atlassian.jira.plugin.syst...
]
Mark Struberg commented on CDI-7:
---------------------------------
huh, but I think John has a point. We also need to clarify the opposite situation: what if
the sender has more qualifiers than the observers?
Imagine what happens if the sender fires an MyEvent which has qualifiers @A @B @C
imo void doSomeDing(@Observes @B MyEvent ev) {...} (only having a subset of the fired
qualifires) should *not* get invoked, right?
Section 10.2, bullet 3, first paragraph contradicts the rest of the
section
---------------------------------------------------------------------------
Key: CDI-7
URL:
https://issues.jboss.org/browse/CDI-7
Project: CDI Specification Issues
Issue Type: Bug
Components: Events
Affects Versions: 1.0
Reporter: Pete Muir
Priority: Blocker
Fix For: 1.1 (Proposed)
"The observer method has all the event qualifiers."
This contradicts the examples (section 10.2.3) and the use of @Any, all of which indicate
that less specific observer methods are also invoked.
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira