Class ConfigClientEnvironmentPostProcessor

java.lang.Object
io.pivotal.spring.cloud.config.client.ConfigClientEnvironmentPostProcessor
All Implemented Interfaces:
org.springframework.boot.env.EnvironmentPostProcessor, Ordered

public class ConfigClientEnvironmentPostProcessor extends Object implements org.springframework.boot.env.EnvironmentPostProcessor, Ordered
Using CfEnv directly here as we need to set the spring.config.import property before the ConfigDataEnvironmentPostProcessor runs java-cfenv-boot library's EnvironmentPostProcessor runs after the ConfigDataEnvironmentPostProcessor, intentionally
Author:
Dylan Roberts
  • Constructor Details

    • ConfigClientEnvironmentPostProcessor

      public ConfigClientEnvironmentPostProcessor()
  • Method Details

    • postProcessEnvironment

      public void postProcessEnvironment(ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
      Specified by:
      postProcessEnvironment in interface org.springframework.boot.env.EnvironmentPostProcessor
    • getOrder

      public int getOrder()
      Specified by:
      getOrder in interface Ordered