run
Run the Spring application, creating and refreshing a new ApplicationContext.
Return
a running ApplicationContext
Parameters
args
the application arguments (usually passed from a Java main method)
Static helper that can be used to run a SpringApplication from the specified source using default settings.
Return
the running ApplicationContext
Parameters
primarySource
the primary source to load
args
the application arguments (usually passed from a Java main method)
open fun run(primarySources: Array<Class<out Any>>, args: Array<String>): ConfigurableApplicationContext
Static helper that can be used to run a SpringApplication from the specified sources using default settings and user supplied arguments.
Return
the running ApplicationContext
Parameters
primarySources
the primary sources to load
args
the application arguments (usually passed from a Java main method)