Example usage for org.springframework.boot SpringApplicationRunListener environmentPrepared

List of usage examples for org.springframework.boot SpringApplicationRunListener environmentPrepared

Introduction

In this page you can find the example usage for org.springframework.boot SpringApplicationRunListener environmentPrepared.

Prototype

default void environmentPrepared(ConfigurableEnvironment environment) 

Source Link

Document

Called once the environment has been prepared, but before the ApplicationContext has been created.

Usage

From source file:org.springframework.boot.SpringApplicationRunListeners.java

public void environmentPrepared(ConfigurableEnvironment environment) {
    for (SpringApplicationRunListener listener : this.listeners) {
        listener.environmentPrepared(environment);
    }//from ww  w .ja va  2 s.c o m
}