<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On the session bean class' method's
event parameter.<br>
<br>
On 12/18/2013 11:00 PM, Laird Nelson wrote:<br>
</div>
<blockquote
cite="mid:CAHNdxu=i-JVZXxtWW85abCDU74PrYWf8TcKKc7Bk1JgM-wZEqA@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true"
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's method's event parameter, the
bean class' method's event parameter, or both?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Best,</div>
<div>Laird</div>
<div><br>
</div>
-- <br>
<a moz-do-not-send="true" href="http://about.me/lairdnelson"
target="_blank">http://about.me/lairdnelson</a><br>
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
cdi-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/cdi-dev">https://lists.jboss.org/mailman/listinfo/cdi-dev</a></pre>
</blockquote>
<br>
</body>
</html>