SpringApplication
Create a new SpringApplication instance. The application context will load beans from the specified primary sources (see class-level documentation for details). The instance can be customized before calling run.
Parameters
primarySources
the primary bean sources
See also
Create a new SpringApplication instance. The application context will load beans from the specified primary sources (see class-level documentation for details). The instance can be customized before calling run.
Parameters
resourceLoader
the resource loader to use
primarySources
the primary bean sources