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
  • Constructor Details

    • ConfigClientAutoConfiguration

      public ConfigClientAutoConfiguration()
  • Method Details

    • configClientProperties

      @Bean @ConditionalOnMissingBean public ConfigClientProperties configClientProperties(org.springframework.core.env.Environment environment, org.springframework.context.ApplicationContext context)