Package com.vaadin.cdi.internal
Class UIContextualStorageManager
java.lang.Object
com.vaadin.cdi.internal.UIContextualStorageManager
- All Implemented Interfaces:
Serializable
Manage and store ContextualStorage for UI context.
This class is responsible for
- selecting the active UI context
- creating, and providing the ContextualStorage for it
- destroying contextual instances
Concurrency handling ignored intentionally.
Locking of VaadinSession is the responsibility of Vaadin Framework.
- Since:
- 3.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoiddestroy(int uiId) org.apache.deltaspike.core.util.context.ContextualStoragegetContextualStorage(boolean createIfNotExist) booleanisActive()voidprepareOpening(int uiId)
-
Constructor Details
-
UIContextualStorageManager
public UIContextualStorageManager()
-
-
Method Details
-
getContextualStorage
public org.apache.deltaspike.core.util.context.ContextualStorage getContextualStorage(boolean createIfNotExist) -
prepareOpening
public void prepareOpening(int uiId) -
cleanupOpening
public void cleanupOpening() -
isActive
public boolean isActive() -
destroy
public void destroy(int uiId)
-