from
Create an application from an existing main
method that can run with additional @Configuration
or bean classes. This method can be helpful when writing a test harness that needs to start an application with additional configuration.
Return
a SpringApplication.Augmented instance that can be used to addconfiguration and run the application
Since
3.1.0
Parameters
main
the main method entry point that runs the SpringApplication