Package org.vaadin.spring.test
Class SimpleViewCache
java.lang.Object
org.vaadin.spring.test.SimpleViewCache
- All Implemented Interfaces:
ViewCache,Serializable
Simple implementation of
ViewCache that always returns
the same BeanStore instance. This effectively means that exactly one
view scope is always active. The view provider callbacks creatingView(String) and viewCreated(String, com.vaadin.navigator.View) do not do anything.- Author:
- Petter Holmström (petter@vaadin.com)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreatingView(String viewName) voidviewCreated(String viewName, com.vaadin.navigator.View viewInstance)
-
Constructor Details
-
SimpleViewCache
-
-
Method Details
-
creatingView
- Specified by:
creatingViewin interfaceViewCache
-
getCurrentViewBeanStore
- Specified by:
getCurrentViewBeanStorein interfaceViewCache- Throws:
IllegalStateException
-