Aspect-oriented programming - do tips work in one thread?

If I have advice (before, after, or near) that will be applicable to a method, will this advice work in the same thread that the method calls? This is Spring AOP.

+4
source share
1 answer

Yes, it will work in the same thread. Aspect will create a proxy object on the method of the object that will match the pointcut definition that will be executed around the method. But he does not do anything in another thread.

+4
source

All Articles