public interface EnvironmentPostProcessor
Environmentprior to the application context being refreshed.
EnvironmentPostProcessor implementations have to be registered in
META-INF/spring.factories, using the fully qualified name of this class as the
EnvironmentPostProcessor processors are encouraged to detect whether Spring's
Ordered interface has been implemented or if
Order annotation is present and
to sort instances accordingly if so prior to invocation.
void postProcessEnvironment(org.springframework.core.env.ConfigurableEnvironment environment, SpringApplication application)
environment- the environment to post-process
application- the application to which the environment belongs
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.