Class ConfigClientAutoConfiguration
- java.lang.Object
-
- org.springframework.cloud.config.client.ConfigClientAutoConfiguration
-
@Configuration(proxyBeanMethods=false) public class ConfigClientAutoConfiguration extends Object
Expose a ConfigClientProperties just so that there is a way to inspect the properties bound to it. It won't be available in time for autowiring into the bootstrap context, but the values in this properties object will be the same as the ones used to bind to the config server, if there is one.- Author:
- Dave Syer, Marcos Barbero
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected classConfigClientAutoConfiguration.ConfigClientFailFastListenerprotected static classConfigClientAutoConfiguration.ConfigClientWatchConfigurationprotected static classConfigClientAutoConfiguration.ConfigServerHealthIndicatorConfiguration
-
Constructor Summary
Constructors Constructor Description ConfigClientAutoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConfigClientPropertiesconfigClientProperties(org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext context)
-
-
-
Method Detail
-
configClientProperties
@Bean @ConditionalOnMissingBean public ConfigClientProperties configClientProperties(org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext context)
-
-