Class RequestContext
java.lang.Object
org.exoplatform.container.context.AbstractContext<K>
org.exoplatform.container.context.UnSharedContext<javax.servlet.ServletRequest>
org.exoplatform.container.context.RequestContext
- All Implemented Interfaces:
javax.enterprise.context.spi.Context,ThreadContextHolder,AdvancedContext<javax.servlet.ServletRequest>
The context that represents the request scope.
- 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(javax.servlet.ServletRequest key) Creates aCreationContextStorageinstance from the given keyClass<? extends Annotation>getScope()Methods inherited from class org.exoplatform.container.context.UnSharedContext
deactivate, getLock, isSharable, unregisterMethods inherited from class org.exoplatform.container.context.AbstractContext
activate, destroy, destroy, destroy, get, get, getFromCache, getId, getInstance, getStorage, getThreadContext, isActive, putInCache, register, setStorage
-
Constructor Details
-
RequestContext
public RequestContext()
-
-
Method Details
-
getScope
-
createStorage
Creates aCreationContextStorageinstance from the given key- Specified by:
createStoragein classAbstractContext<javax.servlet.ServletRequest>- Parameters:
key- the key to use to create theCreationContextStorage- Returns:
- the
CreationContextStoragecorresponding to the given key
-