users@glassfish.java.net

Re: Can I return a custom value from an interceptor?

From: <glassfish_at_javadesktop.org>
Date: Mon, 04 Aug 2008 08:21:32 PDT

Are you referring to EJB interceptors? If so, yes, your aroundInvoke method can eat an
exception and return a value instead. The only requirement is that the returned value must
match the return type of the business method signature being intercepted.
[Message sent by forum member 'ksak' (ksak)]

http://forums.java.net/jive/thread.jspa?messageID=291344