Class DefaultViewCache

java.lang.Object
com.vaadin.spring.internal.DefaultViewCache
All Implemented Interfaces:
ViewCache, Serializable

public class DefaultViewCache extends Object implements ViewCache
Default implementation of ViewCache. For internal use only.
Author:
Petter Holmström (petter@vaadin.com)
See Also:
  • Constructor Details

    • DefaultViewCache

      public DefaultViewCache()
  • Method Details

    • creatingView

      public void creatingView(String viewName)
      Called by SpringViewProvider when a view scoped view is about to be created.
      Specified by:
      creatingView in interface ViewCache
      Parameters:
      viewName - the name of the view (not the bean name).
      See Also:
    • viewCreated

      public void viewCreated(String viewName, com.vaadin.navigator.View viewInstance)
      Called by SpringViewProvider when a view scoped view has been created.
      Specified by:
      viewCreated in interface ViewCache
      Parameters:
      viewName - the name of the view (not the bean name).
      viewInstance - the created view instance, or null if the view could not be created.
      See Also:
    • getCurrentViewBeanStore

      public BeanStore getCurrentViewBeanStore()
      Description copied from interface: ViewCache
      Returns the bean store for the currently active view.
      Specified by:
      getCurrentViewBeanStore in interface ViewCache