<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:8pt"><div>Hi;<br><br>I want to ask about using @Any in event qualifiers. In TCK ObserverTest # testObserverNotifiedWhenEventTypeAndAllBindingsMatch;<br><br>Annotation roleBinding = new RoleBinding("Admin");<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; // Fire an event that will be delivered to the two above observers<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; AnEventType anEvent = new AnEventType();<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; getCurrentManager().fireEvent(anEvent, roleBinding);<br><br>With observers;<br><br>1* public void observer(@Observes @Any AnEventType event)<br>2* public void observer(@Observes @Role("Admin") AnEventType event)<br><br>And TCK says that both of them are called by the container. I really confused the usage of @Any. AFAIK, @Any is any qualifier like others in Event context. Therefore 1* observer must
 not be called by the container because fired event does not contain @Any qualifier.<br><br>WDYT?<br><br>--Gurkan<br></div>
<!-- cg26.c1.mail.mud.yahoo.com compressed/chunked Wed Jan 13 09:28:52 PST 2010 -->
</div><br>



      <hr size="1"><FONT face=Arial size=-1>Yahoo! Türkiye açıldı!<br>
Haber, Ekonomi, Videolar, Oyunlar hepsi Yahoo! Türkiye&#39;de!<br><a href="http://tr.yahoo.com/">www.yahoo.com.tr</a></font></body></html>