2 changed files with 11 additions and 0 deletions
@ -0,0 +1,9 @@
@@ -0,0 +1,9 @@
|
||||
[[features.aop]] |
||||
== Aspect-Oriented Programming |
||||
Spring Boot provides auto-configuration for aspect-oriented programming (AOP). |
||||
You can learn more about AOP with Spring in the {spring-framework-docs}/core.html#aop[Spring Framework reference documentation]. |
||||
|
||||
By default, Spring Boot's auto-configuration configures Spring AOP to use CGLib proxies. |
||||
To use JDK proxies instead, set `configprop:spring.aop.proxy-target-class` to `false`. |
||||
|
||||
If AspectJ is on the classpath, Spring Boot's auto-configuration will automatically enable AspectJ auto proxy such that `@EnableAspectJAutoProxy` is not required. |
||||
Loading…
Reference in new issue