Package com.vaadin.spring.internal
Class DefaultViewCache
java.lang.Object
com.vaadin.spring.internal.DefaultViewCache
- All Implemented Interfaces:
ViewCache,Serializable
Default implementation of
ViewCache. For
internal use only.- Author:
- Petter Holmström (petter@vaadin.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatingView(String viewName) Called bySpringViewProviderwhen a view scoped view is about to be created.Returns the bean store for the currently active view.voidviewCreated(String viewName, com.vaadin.navigator.View viewInstance) Called bySpringViewProviderwhen a view scoped view has been created.
-
Constructor Details
-
DefaultViewCache
public DefaultViewCache()
-
-
Method Details
-
creatingView
Called bySpringViewProviderwhen a view scoped view is about to be created.- Specified by:
creatingViewin interfaceViewCache- Parameters:
viewName- thenameof the view (not the bean name).- See Also:
-
getCurrentViewBeanStore
Description copied from interface:ViewCacheReturns the bean store for the currently active view.- Specified by:
getCurrentViewBeanStorein interfaceViewCache
-