@FunctionalInterface 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
key. Implementations may implement the
interface or use an
if they wish to be invoked in specific order.
Since Spring Boot 2.4,
EnvironmentPostProcessor implementations may optionally
take a single
DeferredLogFactory instance as a constructor
argument. The injected
Log instance will defer output until the application has
been full prepared to allow the environment itself to configure logging levels.