[jboss-user] [JBoss AOP] - Re: Hotswapping an interceptor to an EJB

Giordacchio++ do-not-reply at jboss.com
Thu Nov 30 09:21:55 EST 2006


I forgot to post the code of my advice binding:

 
  | private AdviceBinding sessionbinding;
  | private String bindstring = 
  | "execution(*it.webscience.atlasweb.controller.SessionManagerAction->save(..))";
  |    
  | sessionbinding = new AdviceBinding(bindstring, null);
  | sessionbinding.addInterceptor(SaveSessionInterceptor.class);
  |         
  | AspectManager.instance().addBinding(sessionbinding);

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

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



More information about the jboss-user mailing list