Class SessionContext
java.lang.Object
org.exoplatform.container.context.AbstractContext<K>
org.exoplatform.container.context.SharedContext<jakarta.servlet.http.HttpSession>
org.exoplatform.container.context.SessionContext
- All Implemented Interfaces:
javax.enterprise.context.spi.Context,ThreadContextHolder,AdvancedContext<jakarta.servlet.http.HttpSession>
The context that represents the
SessionScoped. The key used is the
id of the session.- Version:
- $Id$
- Author:
- Nicolas Filotto
-
Nested Class Summary
Nested classes/interfaces inherited from class org.exoplatform.container.context.AbstractContext
AbstractContext.ThreadLocalData -
Field Summary
Fields inherited from interface org.exoplatform.container.component.ThreadContextHolder
MANAGE_THREAD_LOCAL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected CreationContextStoragecreateStorage(jakarta.servlet.http.HttpSession key) Creates aCreationContextStorageinstance from the given keyClass<? extends Annotation>getScope()Methods inherited from class org.exoplatform.container.context.SharedContext
getLock, isSharableMethods inherited from class org.exoplatform.container.context.AbstractContext
activate, deactivate, destroy, destroy, destroy, get, get, getFromCache, getId, getInstance, getStorage, getThreadContext, isActive, putInCache, register, setStorage, unregister
-
Constructor Details
-
SessionContext
public SessionContext()
-
-
Method Details
-
getScope
-
createStorage
Creates aCreationContextStorageinstance from the given key- Specified by:
createStoragein classAbstractContext<jakarta.servlet.http.HttpSession>- Parameters:
key- the key to use to create theCreationContextStorage- Returns:
- the
CreationContextStoragecorresponding to the given key
-