mirror of
https://github.com/spring-projects/spring-boot.git
synced 2024-08-29 03:06:45 +08:00
Add documentation section on AOP
Closes gh-32642
This commit is contained in:
parent
e21fda2f4a
commit
d9e71f7a67
@ -20,6 +20,8 @@ include::features/logging.adoc[]
|
||||
|
||||
include::features/internationalization.adoc[]
|
||||
|
||||
include::features/aop.adoc[]
|
||||
|
||||
include::features/json.adoc[]
|
||||
|
||||
include::features/task-execution-and-scheduling.adoc[]
|
||||
|
@ -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
Block a user