Some small knowledge Spring aop summary

1 Spring aop not intercept the static method

2 in proxyTargetClass = false

  1. For bean implements the interface, only the interface methods will be blocked;

  2. For not implement any interfaces of the bean, public, protect and default access method will be blocked, private and final method can not be intercepted

3 proxyTargetClass = true when, public, protect and default access method will be blocked, private and final method can not be intercepted

4 cut their method will not be intercepted

Guess you like

Origin www.cnblogs.com/canger/p/11803299.html