Class ConfigServiceBootstrapConfiguration
java.lang.Object
org.springframework.cloud.config.client.ConfigServiceBootstrapConfiguration
@Configuration(proxyBeanMethods=false)
@EnableConfigurationProperties
public class ConfigServiceBootstrapConfiguration
extends Object
- Author:
- Dave Syer, Tristan Hanson
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconfigServicePropertySource(ConfigClientProperties properties, org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.ClientHttpRequestInterceptor> oauth2Interceptor)
-
Constructor Details
-
ConfigServiceBootstrapConfiguration
public ConfigServiceBootstrapConfiguration()
-
-
Method Details
-
configClientProperties
-
configServicePropertySource
@Bean @ConditionalOnMissingBean(ConfigServicePropertySourceLocator.class) @ConditionalOnProperty(name="spring.cloud.config.enabled", matchIfMissing=true) @Proxyable(TARGET_CLASS) public ConfigServicePropertySourceLocator configServicePropertySource(ConfigClientProperties properties, @Qualifier("configClientOAuth2Interceptor") org.springframework.beans.factory.ObjectProvider<org.springframework.http.client.ClientHttpRequestInterceptor> oauth2Interceptor)
-