Switch default value of spring.aop.proxy-target-class

This commit ensures that the default proxying value matches the opinion we
have applied for `@EnableTransactionManagement`

Closes gh-8786
This commit is contained in:
Stephane Nicoll
2017-04-04 17:27:00 +03:00
parent 6c6b9c284d
commit 78845fe63a
4 changed files with 6 additions and 6 deletions

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=true # Whether subclass-based (CGLIB) proxies are to be created (true) as opposed to standard Java interface-based proxies (false).
# IDENTITY ({sc-spring-boot}/context/ContextIdApplicationContextInitializer.{sc-ext}[ContextIdApplicationContextInitializer])
spring.application.index= # Application index.