Package com.alibaba.cloud.nacos
Class NacosConfigAutoConfiguration
java.lang.Object
com.alibaba.cloud.nacos.NacosConfigAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(name="spring.cloud.nacos.config.enabled",
matchIfMissing=true)
public class NacosConfigAutoConfiguration
extends Object
- Author:
- juven.xuxb, freeman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnacosConfigManager(NacosConfigProperties nacosConfigProperties) nacosConfigProperties(org.springframework.context.ApplicationContext context) nacosContextRefresher(NacosConfigManager nacosConfigManager, NacosRefreshHistory nacosRefreshHistory) org.springframework.cloud.context.properties.ConfigurationPropertiesRebindersmartConfigurationPropertiesRebinder(org.springframework.cloud.context.properties.ConfigurationPropertiesBeans beans)
-
Constructor Details
-
NacosConfigAutoConfiguration
public NacosConfigAutoConfiguration()
-
-
Method Details
-
nacosConfigProperties
@Bean public NacosConfigProperties nacosConfigProperties(org.springframework.context.ApplicationContext context) -
nacosRefreshProperties
-
nacosRefreshHistory
-
nacosConfigManager
-
nacosContextRefresher
@Bean public NacosContextRefresher nacosContextRefresher(NacosConfigManager nacosConfigManager, NacosRefreshHistory nacosRefreshHistory) -
smartConfigurationPropertiesRebinder
@Bean @ConditionalOnMissingBean(search=CURRENT) @ConditionalOnNonDefaultBehavior public org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder smartConfigurationPropertiesRebinder(org.springframework.cloud.context.properties.ConfigurationPropertiesBeans beans)
-