Joe Harry wrote:Got to get this done using !execution (* AbstractServiceClient.*(..))
But another question is how can I define this pointcut to apply for all classes under a specific package?
!execution (* my.package.stuff.here.AbstractServiceClient.*(..))
Now that would only cover the class in my.package.stuff.here
You can also always combine execution() pointcuts together with &&(and), ||(or) or !
You could also create your own Annotation and annotate just the methods you want to advice with that annotation and use
execution(my.package.MyAnnoation * *(..))
By the way, why did you change your name to Joe Harry, when that isn't you real name? Or did you change your name?
Thanks
Mark