Package-level declarations
Functions
Link copied to clipboard
Top-level function acting as a Kotlin shortcut allowing to write fromApplication<MyApplication>().with(...). This method assumes that the main function is declared in the same file as T.
Link copied to clipboard
Top-level function acting as a Kotlin shortcut allowing to write runApplication<MyApplication>(arg1, arg2) instead of SpringApplication.run(MyApplication::class.java, arg1, arg2).
inline fun <T : Any> runApplication(vararg args: String, init: SpringApplication.() -> Unit): ConfigurableApplicationContext
Top-level function acting as a Kotlin shortcut allowing to write runApplication<MyApplication>(arg1, arg2) { // SpringApplication customization ... } instead of instantiating SpringApplication class, customize it and then invoking run(arg1, arg2).
Link copied to clipboard
Extension function that allows SpringApplication.Augmented.with to work with Kotlin classes.