mirror of
https://gitee.com/mirrors/Spring-Cloud-Alibaba.git
synced 2021-06-26 13:25:11 +08:00
Use 'proxyBeanMethods = false' where possible.
This commit is contained in:
@@ -29,7 +29,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
/**
|
||||
* @author juven.xuxb
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(name = "spring.cloud.nacos.config.enabled", matchIfMissing = true)
|
||||
public class NacosConfigAutoConfiguration {
|
||||
|
||||
|
@@ -26,7 +26,7 @@ import org.springframework.context.annotation.Configuration;
|
||||
/**
|
||||
* @author xiaojing
|
||||
*/
|
||||
@Configuration
|
||||
@Configuration(proxyBeanMethods = false)
|
||||
@ConditionalOnProperty(name = "spring.cloud.nacos.config.enabled", matchIfMissing = true)
|
||||
public class NacosConfigBootstrapConfiguration {
|
||||
|
||||
|
Reference in New Issue
Block a user