public class SimpleViewCache extends Object implements com.vaadin.spring.internal.ViewCache
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.| Constructor and Description |
|---|
SimpleViewCache(String beanStoreName) |
| Modifier and Type | Method and Description |
|---|---|
void |
creatingView(String viewName) |
com.vaadin.spring.internal.BeanStore |
getCurrentViewBeanStore() |
void |
viewCreated(String viewName,
View viewInstance) |
public SimpleViewCache(String beanStoreName)
public void creatingView(String viewName)
creatingView in interface com.vaadin.spring.internal.ViewCachepublic void viewCreated(String viewName, View viewInstance)
viewCreated in interface com.vaadin.spring.internal.ViewCachepublic com.vaadin.spring.internal.BeanStore getCurrentViewBeanStore()
throws IllegalStateException
getCurrentViewBeanStore in interface com.vaadin.spring.internal.ViewCacheIllegalStateExceptionCopyright © 2016. All rights reserved.