[jboss-user] [JBoss AOP] - Re: Some thing like Around Advice

kabir.khan@jboss.com do-not-reply at jboss.com
Wed Mar 21 06:13:04 EDT 2007


This will be a feature in our next release. In the meantime, please use the normal around advice.


  | public Object someAdvice(Invocation inv) throws Throwable
  | {
  |     try{
  |        //Do stuff before
  |        return inv.invokeNext();
  |     }finally{
  |        //Do stuff after
  |     }
  | }
  | 

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

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



More information about the jboss-user mailing list