@Configuration(proxyBeanMethods=false)
@ConditionalOnProperty(name="spring.cloud.nacos.config.enabled",
matchIfMissing=true)
public class NacosConfigAutoConfiguration
extends Object
| Constructor and Description |
|---|
NacosConfigAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
NacosConfigManager |
nacosConfigManager(NacosConfigProperties nacosConfigProperties) |
NacosConfigProperties |
nacosConfigProperties(org.springframework.context.ApplicationContext context) |
NacosContextRefresher |
nacosContextRefresher(NacosConfigManager nacosConfigManager,
NacosRefreshHistory nacosRefreshHistory) |
NacosRefreshHistory |
nacosRefreshHistory() |
org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder |
smartConfigurationPropertiesRebinder(org.springframework.cloud.context.properties.ConfigurationPropertiesBeans beans) |
@Bean @ConditionalOnMissingBean(value=NacosConfigProperties.class, search=CURRENT) public NacosConfigProperties nacosConfigProperties(org.springframework.context.ApplicationContext context)
@Bean public NacosRefreshHistory nacosRefreshHistory()
@Bean public NacosConfigManager nacosConfigManager(NacosConfigProperties nacosConfigProperties)
@Bean public NacosContextRefresher nacosContextRefresher(NacosConfigManager nacosConfigManager, NacosRefreshHistory nacosRefreshHistory)
@Bean @ConditionalOnMissingBean(search=CURRENT) @ConditionalOnNonDefaultBehavior public org.springframework.cloud.context.properties.ConfigurationPropertiesRebinder smartConfigurationPropertiesRebinder(org.springframework.cloud.context.properties.ConfigurationPropertiesBeans beans)
Copyright © 2023 Pivotal Software, Inc.. All rights reserved.