Package org.springframework.boot
Interface SpringApplication.Running
- Enclosing class:
- SpringApplication
public static interface SpringApplication.Running
Provides access to details of a
SpringApplication
run using
SpringApplication.Augmented.run(String...)
.- Since:
- 3.1.0
-
Method Summary
Modifier and TypeMethodDescriptionReturn the rootConfigurableApplicationContext
of the running application.
-
Method Details
-
getApplicationContext
ConfigurableApplicationContext getApplicationContext()Return the rootConfigurableApplicationContext
of the running application.- Returns:
- the root application context
-