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 VaadinScopesConfig
java.lang.Object
com.vaadin.flow.spring.VaadinScopesConfig
Vaadin scopes configuration.
Author:
Vaadin Ltd
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.springframework.beans.factory.config.BeanFactoryPostProcessor
Creates a Vaadin route scope.
static org.springframework.beans.factory.config.BeanFactoryPostProcessor
Creates a Vaadin session scope.
static org.springframework.beans.factory.config.BeanFactoryPostProcessor
Creates a Vaadin UI scope.
-
Constructor Details
-
VaadinScopesConfig
public VaadinScopesConfig()
-
-
Method Details
-
vaadinSessionScope
@Bean public static org.springframework.beans.factory.config.BeanFactoryPostProcessor vaadinSessionScope()Creates a Vaadin session scope.
Returns:
the Vaadin session scope
-
vaadinUIScope
@Bean public static org.springframework.beans.factory.config.BeanFactoryPostProcessor vaadinUIScope()Creates a Vaadin UI scope.
Returns:
the Vaadin UI scope
-
vaadinRouteScope
@Bean public static org.springframework.beans.factory.config.BeanFactoryPostProcessor vaadinRouteScope()Creates a Vaadin route scope.
Returns:
the Vaadin route scope
-