Package com.vaadin.cdi.internal
Class ViewContextualStorageManager
java.lang.Object
com.vaadin.cdi.internal.ViewContextualStorageManager
- All Implemented Interfaces:
Serializable
Manage and store ContextualStorage for view context.
This class is responsible for
- selecting the active view context
- creating, and providing the ContextualStorage for it
- destroying contextual instances
Concurrency handling ignored intentionally.
Locking of VaadinSession is the responsibility of Vaadin Framework.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event) org.apache.deltaspike.core.util.context.ContextualStoragegetContextualStorage(boolean createIfNotExist) booleanisActive()com.vaadin.navigator.ViewprepareChange(jakarta.enterprise.inject.spi.Bean viewBean, String viewName, String parameters) voidrevertChange(com.vaadin.navigator.ViewChangeListener.ViewChangeEvent event)
-
Constructor Details
-
ViewContextualStorageManager
public ViewContextualStorageManager()
-
-
Method Details
-
prepareChange
-
getContextualStorage
public org.apache.deltaspike.core.util.context.ContextualStorage getContextualStorage(boolean createIfNotExist) -
isActive
public boolean isActive()