|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface ViewCache
A view cache is used to keep track of the currently active
view and its corresponding
BeanStore. It is also responsible for
cleaning up views that have gone out of scope. Used as a delegate by
ViewScopeImpl. For internal use only.
| Method Summary | |
|---|---|
void |
creatingView(String viewName)
Called by the view provider before a view with the specified name will be created. |
BeanStore |
getCurrentViewBeanStore()
Returns the bean store for the currently active view. |
void |
viewCreated(String viewName,
com.vaadin.navigator.View viewInstance)
Called by the view provider after a view with the specified name has been created. |
| Method Detail |
|---|
void creatingView(String viewName)
viewName - the name of the view (not the name of the Spring bean).SpringView.name()
void viewCreated(String viewName,
com.vaadin.navigator.View viewInstance)
viewName - the name of the view (not the name of the Spring bean).viewInstance - the created view instance, or null if the instance
could not be created for some reason.SpringView.name()
BeanStore getCurrentViewBeanStore()
throws IllegalStateException
IllegalStateException - if there is no active view.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||