[jboss-user] [JBoss AOP] - Re: Dynamic AOP

ikek70 do-not-reply at jboss.com
Wed Sep 12 14:44:53 EDT 2007


The following code works

  |       AdviceBinding binding2 = new AdviceBinding("execution(* POJOFriend->print()) ", null);
  | In my jboss-aop,xml,
  |    <prepare expr="execution(* POJOFriend->print())"/>
  | 
But, below code does not work.

  |       AdviceBinding binding2 = new AdviceBinding("execution(* POJOFriend->print()) AND withincode(* POJO->someMethod())", null);
  | In my jboss-aop,xml,
  |    <prepare expr="execution(* POJOFriend->print()) AND withincode(* POJO->someMethod())"/>
  | 


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

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



More information about the jboss-user mailing list