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
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to