Class ConfigClientAutoConfiguration
java.lang.Object
org.springframework.cloud.config.client.ConfigClientAutoConfiguration
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
Modifier and TypeClassDescriptionprotected static class
protected static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionconfigClientProperties
(org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext context)
-
Constructor Details
-
ConfigClientAutoConfiguration
public ConfigClientAutoConfiguration()
-
-
Method Details
-
configClientProperties
@Bean @ConditionalOnMissingBean public ConfigClientProperties configClientProperties(org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext context)
-