Reduce need for bean method proxying and disable where not needed

Closes gh-9068
This commit is contained in:
Andy Wilkinson
2019-02-08 14:51:38 +00:00
parent 0f71f22f3c
commit 68bfb020aa
887 changed files with 2574 additions and 2542 deletions

View File

@@ -2,7 +2,7 @@ package org.test
import java.util.concurrent.atomic.AtomicLong
@Configuration
@Configuration(proxyBeanMethods = false)
@EnableCaching
class Sample {
@@ -18,9 +18,9 @@ class Sample {
@Autowired
MyClient(MyService myService) {
this.myService = myService
}
}
void run(String... args) {
void run(String... args) {
long counter = myService.get('someKey')
long counter2 = myService.get('someKey')
if (counter == counter2) {