Class DiscoveryClientConfigServiceBootstrapConfiguration
- java.lang.Object
-
- org.springframework.cloud.config.client.DiscoveryClientConfigServiceBootstrapConfiguration
-
@ConditionalOnProperty("spring.cloud.config.discovery.enabled") @Configuration(proxyBeanMethods=false) @Import(org.springframework.cloud.commons.util.UtilAutoConfiguration.class) @EnableDiscoveryClient public class DiscoveryClientConfigServiceBootstrapConfiguration extends ObjectBootstrap configuration for a config client that wants to lookup the config server via discovery.- Author:
- Dave Syer
-
-
Constructor Summary
Constructors Constructor Description DiscoveryClientConfigServiceBootstrapConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.cloud.config.client.ConfigServerInstanceMonitorconfigServerInstanceMonitor(ConfigClientProperties properties, ConfigServerInstanceProvider provider)ConfigServerInstanceProviderconfigServerInstanceProvider(org.springframework.beans.factory.ObjectProvider<ConfigServerInstanceProvider.Function> function, org.springframework.beans.factory.ObjectProvider<org.springframework.cloud.client.discovery.DiscoveryClient> discoveryClient)
-
-
-
Method Detail
-
configServerInstanceProvider
@Bean public ConfigServerInstanceProvider configServerInstanceProvider(org.springframework.beans.factory.ObjectProvider<ConfigServerInstanceProvider.Function> function, org.springframework.beans.factory.ObjectProvider<org.springframework.cloud.client.discovery.DiscoveryClient> discoveryClient)
-
configServerInstanceMonitor
@Bean public org.springframework.cloud.config.client.ConfigServerInstanceMonitor configServerInstanceMonitor(ConfigClientProperties properties, ConfigServerInstanceProvider provider)
-
-