Is this a minor bug in the spec? If this s the case, please also review the example in 9.5.1.<div><br></div><div>br, Sven<br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Sven Linstaedt</b> <span dir="ltr">&lt;<a href="mailto:sven.linstaedt@googlemail.com" target="_blank">sven.linstaedt@googlemail.com</a>&gt;</span><br>


Date: 2009/10/23<br>Subject: Re: @AroundInvoke -- JCDI vs EJB3 and return type Object?<br>To: <a href="mailto:openwebbeans-dev@incubator.apache.org" target="_blank">openwebbeans-dev@incubator.apache.org</a><br><br><br>At a first glance I would consider this a bug in the example. I can not imagine Gavin introduced some kind of &quot;special interceptors for void returning methods&quot;. This would rather be a use case for decorators.<div>



<br></div><div>I will forward your question to the jboss list, if you don&#39;t mind. Besides... thanks for for the review.</div><div><div><br></div><div>br, Sven</div><div><br><br><div class="gmail_quote">2009/10/22 Eric Covener <span dir="ltr">&lt;<a href="mailto:covener@apache.org" target="_blank">covener@apache.org</a>&gt;</span><div>


<div></div><div><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Interceptor methods with @AroundInvoke in EJB3 requires a return type<br>
of Object, which is enforced by<br>
WebBeansUtil.java::checkAroundInvokeAnnotationCriterias().    In EJB3,<br>
Interceptors return InvocationContext.proceed() to their caller.<br>
<br>
However it seems that @AroundInvoke in JCDI is documented somewhat<br>
differently -- in the JCDI spec (1.3.6) the example has a void return<br>
type and just calls InvocationContext.proceed().<br>
<br>
Should the JCDI spec example look just like EJB3, or is this an<br>
OWB-specific restriction?<br>
<font color="#888888"><br>
--<br>
Eric Covener<br>
<a href="mailto:covener@gmail.com" target="_blank">covener@gmail.com</a><br>
</font></blockquote></div></div></div><br>
</div></div>
</div><br></div>