mvvmfx-guice/src/main/java/de/saxsys/mvvmfx/guice/MvvmfxGuiceApplication.java
public final void init() throws Exception {
		List<Module> modules = new ArrayList<>();

		modules.add(new MvvmfxModule());
		
		modules.add(new AbstractModule() {
			@Override
			protected void configure() {
				bind(HostServices.class).toProvider(MvvmfxGuiceApplication.this::getHostServices);
				
				bind(Stage.class).toProvider(() -> primaryStage);
				
				bind(Parameters.class).toProvider(MvvmfxGuiceApplication.this::getParameters);
			}
		});
		
		
		this.initGuiceModules(modules);

		final Injector injector = Guice.createInjector(modules);
		MvvmFX.setCustomDependencyInjector(injector::getInstance);

		injector.injectMembers(this);

		this.initMvvmfx();
	}
public final void init() throws Exception {
		List<Module> modules = new ArrayList<>();

		modules.add(new MvvmfxModule());
		
		modules.add(new AbstractModule() {
			@Override
			protected void configure() {
				bind(HostServices.class).toProvider(MvvmfxGuiceApplication.this::getHostServices);
				
				bind(Stage.class).toProvider(() -> primaryStage);
				
				bind(Parameters.class).toProvider(MvvmfxGuiceApplication.this::getParameters);
			}
		});
		
		
		this.initGuiceModules(modules);

		final Injector injector = Guice.createInjector(modules);
		MvvmFX.setCustomDependencyInjector(injector::getInstance);

		injector.injectMembers(this);

		this.initMvvmfx();
	}
This method is called by the javafx runtime when the application is initialized.
See {@link Application#init()} for more details.
<p>
In this method the initialization of the guice container is done.
For this reason, this method is marked as final and cannot be overwritten by users.
<p>
Please use {@link #initMvvmfx()} for your own initialization logic.

@throws Exception