public class EnvironmentPostProcessorExample extends Object implements EnvironmentPostProcessor
EnvironmentPostProcessor
example that loads a YAML file.Constructor and Description |
---|
EnvironmentPostProcessorExample() |
Modifier and Type | Method and Description |
---|---|
void |
postProcessEnvironment(ConfigurableEnvironment environment,
SpringApplication application)
Post-process the given
environment . |
public void postProcessEnvironment(ConfigurableEnvironment environment, SpringApplication application)
EnvironmentPostProcessor
environment
.postProcessEnvironment
in interface EnvironmentPostProcessor
environment
- the environment to post-processapplication
- the application to which the environment belongsCopyright © 2018 Pivotal Software, Inc.. All rights reserved.