-
Nov 11th, 2011, 06:00 AM
#1
How to setup pointcut for methods on common interface?
Hello,
I have many classes implementing a common interface, e.g.
interface MyInterface {
void foo();
void bar();
}
And I want to inject profiling code around these methods to profile all their implementation in all those classes without modifying those code (some of them are not written by me). How to do this in Spring AOP and/or Aspect J?
Thx
Chuck
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules