launchApplicationBlocking
fun <A : Application, C : AbstractApplicationBuilder, L : ApplicationLauncher<A>, AER : ApplicationEventRegistrar, DC : EventDispatcherConfiguration> launchApplicationBlocking(factory: ApplicationFactory<A, C, L, AER, DC>, configurer: ConfigurerFunction<ApplicationFactoryConfigurer<C, AER, DC>>? = null): A(source)
构建一个 Application 并阻塞地启动它。
启动过程中产生了任何异常,都会被包装在 ApplicationLaunchBlockingFailureException 中
Throws
启动过程中产生了任何异常的包装