<div dir="ltr">Hello; the CDI specification says that an observer method is a<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<span style="color:rgb(0,0,0);font-family:Georgia,serif;font-size:medium">non-abstract method of a managed bean class or session bean class (or of an extension, as defined inĀ </span><a href="http://docs.jboss.org/cdi/spec/1.1/cdi-spec.html#init_events" style="color:fuchsia;font-family:Georgia,serif;font-size:medium">[init_events]</a><span style="color:rgb(0,0,0);font-family:Georgia,serif;font-size:medium">). An observer method may be either static or non-static. <b>If the bean is a session bean, the observer method must be either a business method of the EJB </b>or a static method of the bean class.</span></blockquote>
</blockquote><div><br></div><div><div><div>If I have a business interface that my SLSB implements that is intended to be an observer method, must <font face="courier new, monospace">@Observes</font> be present on the interface&#39;s method&#39;s event parameter, the bean class&#39; method&#39;s event parameter, or both?</div>
<div><br></div><div>Thanks,</div><div>Best,</div><div>Laird</div><div><br></div>-- <br><a href="http://about.me/lairdnelson" target="_blank">http://about.me/lairdnelson</a><br>
</div></div></div>