Skip to content

Commit 7346a64

Browse files
committed
Merge pull request #10134 from andersonkyle:proxy-target-docs-update
* pr/10134: Polish "Document default value change for proxy-target-class" Document default value change for proxy-target-class
2 parents fbb6b88 + 61ae929 commit 7346a64

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,8 +114,7 @@
114114
{
115115
"name": "spring.aop.proxy-target-class",
116116
"type": "java.lang.Boolean",
117-
"description": "Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).",
118-
"defaultValue": false
117+
"description": "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\"."
119118
},
120119
{
121120
"name": "spring.application.admin.enabled",

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)