This content has been marked as final.
Show 1 reply
-
1. Re: Interceptors AFTER biz method invocation
bdecoste May 17, 2006 10:00 PM (in response to sebcao)Interceptors can be used to before and after execution by using the try/finally pattern:
@AroundInvoke public Object invoke(InvocationContext ctx) throws Exception { try { // code to be executed before execution return ctx.proceed(); } finally { // code to be executed after execution } }