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 TypeMethodDescriptionorg.springframework.context.ConfigurableApplicationContext
Return the rootConfigurableApplicationContext
of the running application.
-
Method Details
-
getApplicationContext
org.springframework.context.ConfigurableApplicationContext getApplicationContext()Return the rootConfigurableApplicationContext
of the running application.- Returns:
- the root application context
-