[webbeans-dev] @Any required on @Observer argument?
Dan Allen
dan.j.allen at gmail.com
Fri Jul 24 19:05:07 EDT 2009
Is it necessary to specify the @Any annotation on the @Observer argument
(the event object) of an observer method if no other event binding type is
specified?
public void studentRegistered(@Observers @Any RegistrationEvent event) { ...
}
^
is this
annotation required?
Currently, if the @Any annotation is not present, the observer is not
notified. This breaks event tests in a major way if it is not supposed to be
required.
-Dan
--
Dan Allen
Senior Software Engineer, Red Hat | Author of Seam in Action
Registered Linux User #231597
http://mojavelinux.com
http://mojavelinux.com/seaminaction
http://in.relation.to/Bloggers/Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20090724/521b2ffd/attachment.html
More information about the weld-dev
mailing list