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
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()voidpostProcessEnvironment(ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application)
-
Constructor Details
-
ConfigClientEnvironmentPostProcessor
public ConfigClientEnvironmentPostProcessor()
-
-
Method Details
-
postProcessEnvironment
public void postProcessEnvironment(ConfigurableEnvironment environment, org.springframework.boot.SpringApplication application) - Specified by:
postProcessEnvironmentin interfaceorg.springframework.boot.env.EnvironmentPostProcessor
-
getOrder
public int getOrder()
-