use of io.micronaut.context.env.DefaultEnvironment in project micronaut-core by micronaut-projects.
the class DefaultApplicationContext method startEnvironment.
/**
* Start the environment.
*/
protected void startEnvironment() {
Environment defaultEnvironment = getEnvironment();
defaultEnvironment.start();
registerSingleton(Environment.class, defaultEnvironment);
}
Aggregations