- run
Run the Spring application, creating and refreshing a new ApplicationContext.
- <init>
- exit
Static helper that can be used to exit a SpringApplication and obtain a code
indicating success (0)
- addListeners
Add ApplicationListeners to be applied to the SpringApplication and registered
with the ApplicationC
- setBannerMode
Sets the mode used to display the banner when the application runs. Defaults to
Banner.Mode.CONSOLE.
- setWebEnvironment
- setWebApplicationType
Sets the type of web application to be run. If not explicitly set the type of
web application will b
- setDefaultProperties
Convenient alternative to #setDefaultProperties(Map).
- addInitializers
Add ApplicationContextInitializers to be applied to the Spring
ApplicationContext.
- setRegisterShutdownHook
Sets if the created ApplicationContext should have a shutdown hook registered.
Defaults to true to e
- setAdditionalProfiles
Set additional profile values to use (on top of those set in system or command
line properties).
- setApplicationContextClass
Sets the type of Spring ApplicationContext that will be created. If not
specified defaults to #DEFAU