Spring AOP + AspectJ Using AspectJ is more flexible and powerful. Spring AOP (Aspect-oriented programming) framework is used to modularize cross-cutting concerns in aspects. Put it simple, it's just an interceptor to intercept some processes, for exa…
In last Spring AOP advice examples, the entire methods of a class are intercepted automatically. But for most cases, you may just need a way to intercept only one or two methods, this is what 'Pointcut' come for. It allow you to intercept a method by…