Package it.tidalwave.ui.javafx
Class JavaFXSpringAnnotationApplication
java.lang.Object
javafx.application.Application
it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
it.tidalwave.ui.javafx.AbstractJavaFXSpringApplication
it.tidalwave.ui.javafx.JavaFXSpringAnnotationApplication
@Configuration
public class JavaFXSpringAnnotationApplication
extends AbstractJavaFXSpringApplication
A base class for JavaFX applications with use Spring annotation scanning.
- Since:
- 1.1-ALPHA-4
- Author:
- Fabrizio Giudici
-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.application.Application
javafx.application.Application.Parameters
-
Field Summary
Fields inherited from class it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
applicationFxml, splashFxml
Fields inherited from class javafx.application.Application
STYLESHEET_CASPIAN, STYLESHEET_MODENA
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected org.springframework.context.ConfigurableApplicationContext
Creates the application context.it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory
it.tidalwave.role.impl.DefaultContextManager
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor
it.tidalwave.util.PreferencesHandler
Methods inherited from class it.tidalwave.ui.javafx.AbstractJavaFXSpringApplication
createParent, initializeInBackground, onClosing, onStageCreated, onStageCreated
Methods inherited from class it.tidalwave.ui.javafx.JavaFXApplicationWithSplash
createScene, getExecutor, init, start
Methods inherited from class javafx.application.Application
getHostServices, getParameters, getUserAgentStylesheet, launch, launch, notifyPreloader, setUserAgentStylesheet, stop
-
Constructor Details
-
JavaFXSpringAnnotationApplication
public JavaFXSpringAnnotationApplication()
-
-
Method Details
-
createApplicationContext
@Nonnull protected org.springframework.context.ConfigurableApplicationContext createApplicationContext()Description copied from class:AbstractJavaFXSpringApplication
Creates the application context.- Specified by:
createApplicationContext
in classAbstractJavaFXSpringApplication
- Returns:
- the application context
-
getJavaFXSafeProxyCreator
@Bean(name="javafxBinderExecutor") public org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor getJavaFXSafeProxyCreator() -
getStackPaneSelector
-
getPreferencesHandler
@Bean(name="preferencesHandler") public it.tidalwave.util.PreferencesHandler getPreferencesHandler() -
getAnnotationSpringSystemRoleFactory
@Bean(name="roleManager") public it.tidalwave.role.spring.spi.AnnotationSpringSystemRoleFactory getAnnotationSpringSystemRoleFactory() -
getDefaultContextManager
@Bean(name="contextManager") public it.tidalwave.role.impl.DefaultContextManager getDefaultContextManager()
-