[jboss-user] [JBoss AOP] - Re: intercept method return / exit

kabir.khan@jboss.com do-not-reply at jboss.com
Thu Sep 21 07:51:31 EDT 2006


If you mean you want to use the return value in your intereptor:


  | 
  | public Object invoke(Invocation inv)
  | {
  |     Object rtn = invocation.invokeNext();
  | 
  |     //Do what you like
  |    
  |    return rtn;
  | }
  | 

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973219#3973219

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973219



More information about the jboss-user mailing list