Skip to content

Commit e86d0f3

Browse files
andersonkylesnicoll
authored andcommitted
Document default value change for proxy-target-class
This commit documents the change to the default value for spring.aop.proxy-target-class by clarifying when the default is true vs false. See gh-10134
1 parent fbb6b88 commit e86d0f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spring-boot-docs/src/main/asciidoc/appendix-application-properties.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ content into your application; rather pick only the properties that you need.
5050
5151
# AOP
5252
spring.aop.auto=true # Add @EnableAspectJAutoProxy.
53-
spring.aop.proxy-target-class=false # Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).
53+
spring.aop.proxy-target-class= # Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false). Defaults to "true" when using Spring Transaction Management, otherwise "false".
5454
5555
# IDENTITY ({sc-spring-boot}/context/ContextIdApplicationContextInitializer.{sc-ext}[ContextIdApplicationContextInitializer])
5656
spring.application.index= # Application index.

0 commit comments

Comments
 (0)