On Fri, 2009-07-24 at 19:05 -0400, Dan Allen wrote:
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?
No, this annotation is not required. It is always added automatically
to every observer method. So this is a bug...file a WBRI for this.
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
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev