Package com.alibaba.cloud.nacos
Class NacosConfigSpringCloudAutoConfiguration
java.lang.Object
com.alibaba.cloud.nacos.NacosConfigSpringCloudAutoConfiguration
@Configuration(proxyBeanMethods=false)
@Conditional(com.alibaba.cloud.nacos.NacosConfigEnabledCondition.class)
public class NacosConfigSpringCloudAutoConfiguration
extends Object
- Author:
- juven.xuxb, freeman
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnacosPropertySourceLocator(NacosConfigManager nacosConfigManager) org.springframework.cloud.context.properties.ConfigurationPropertiesRebindersmartConfigurationPropertiesRebinder(org.springframework.cloud.context.properties.ConfigurationPropertiesBeans beans)
-
Constructor Details
-
NacosConfigSpringCloudAutoConfiguration
public NacosConfigSpringCloudAutoConfiguration()
-
-
Method Details
-
smartConfigurationPropertiesRebinder
@Bean @ConditionalOnMissingBean(search=CURRENT) @ConditionalOnNonDefaultBehavior public org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder smartConfigurationPropertiesRebinder(org.springframework.cloud.context.properties.ConfigurationPropertiesBeans beans) -
nacosPropertySourceLocator
@Bean public NacosPropertySourceLocator nacosPropertySourceLocator(NacosConfigManager nacosConfigManager) -
nacosConfigRefreshEventListener
@Bean(name="nacosConfigSpringCloudRefreshEventListener") public NacosConfigRefreshEventListener nacosConfigRefreshEventListener()
-