We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.spring.
Package com.vaadin.flow.spring
Class VaadinApplicationConfiguration
java.lang.Object
com.vaadin.flow.spring.VaadinApplicationConfiguration
Vaadin Application Spring configuration.
Registers a default ApplicationConfigurationFactory
for Vaadin web
application if there is no developer provided factory available.
Since:
Author:
Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreates a default
ApplicationConfigurationFactory
bean in case there is no developer provided bean.org.springframework.context.ApplicationContextAware
Creates an application context initializer for lookup initializer
SpringLookupInitializer
.
-
Constructor Details
-
VaadinApplicationConfiguration
public VaadinApplicationConfiguration()
-
-
Method Details
-
defaultApplicationConfigurationFactory
@Bean @ConditionalOnMissingBean public ApplicationConfigurationFactory defaultApplicationConfigurationFactory()Creates a default
ApplicationConfigurationFactory
bean in case there is no developer provided bean.Returns:
the default application configuration factory
-
vaadinApplicationContextInitializer
@Bean public org.springframework.context.ApplicationContextAware vaadinApplicationContextInitializer()Creates an application context initializer for lookup initializer
SpringLookupInitializer
.Returns:
an application context initializer
-