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