Class VaadinScopesConfig

java.lang.Object
com.vaadin.flow.spring.VaadinScopesConfig

@AutoConfiguration public class VaadinScopesConfig extends Object
Vaadin scopes configuration.
Since:
10.0
Author:
Vaadin Ltd
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates the configuration.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.springframework.beans.factory.config.BeanFactoryPostProcessor
    Creates a Vaadin browser tab scope.
    static 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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • VaadinScopesConfig

      public VaadinScopesConfig()
      Creates the configuration. Spring instantiates it.
  • 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
      Since:
      18.0
    • vaadinBrowserTabScope

      @Bean public static org.springframework.beans.factory.config.BeanFactoryPostProcessor vaadinBrowserTabScope()
      Creates a Vaadin browser tab scope.
      Returns:
      the Vaadin browser tab scope