Skip to content

Commit

Permalink
Add documentation section on AOP
Browse files Browse the repository at this point in the history
Closes gh-32642
  • Loading branch information
wilkinsona committed Oct 27, 2023
1 parent e21fda2 commit d9e71f7
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit d9e71f7

Please sign in to comment.