@Override
	public final void init() throws Exception {
		ctx = SpringApplication.run(this.getClass());

		MvvmFX.setCustomDependencyInjector(ctx::getBean);

		ctx.getBeanFactory().autowireBean(this);

		initMvvmfx();
	}
@ Override public final void init ( ) throws Exception { ctx = SpringApplication . run ( this . getClass ( ) ) ; MvvmFX . setCustomDependencyInjector ( ctx :: getBean ) ; ctx . getBeanFactory ( ) . autowireBean ( this ) ; initMvvmfx ( ) ; }
This method is invoked when the javafx application is initialized. See {@link javafx.application.Application#init()} for more details.
<p>
Unlike the original init method in {@link javafx.application.Application} this method contains logic to initialize
the Spring-Boot container. For this reason this method is now final to prevent unintended overriding.
Please use {@link #initMvvmfx()} for you own initialization logic.

@throws Exception