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
This commit is contained in:
Stephane Nicoll 2017-09-16 06:46:59 +02:00
commit 7346a64491
2 changed files with 2 additions and 3 deletions

View File

@ -114,8 +114,7 @@
{
"name": "spring.aop.proxy-target-class",
"type": "java.lang.Boolean",
"description": "Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).",
"defaultValue": false
"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\"."
},
{
"name": "spring.application.admin.enabled",

View File

@ -50,7 +50,7 @@ content into your application; rather pick only the properties that you need.
# AOP
spring.aop.auto=true # Add @EnableAspectJAutoProxy.
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).
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".
# IDENTITY ({sc-spring-boot}/context/ContextIdApplicationContextInitializer.{sc-ext}[ContextIdApplicationContextInitializer])
spring.application.index= # Application index.