org.exoplatform.container.context
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>
public class RequestContext
- extends UnSharedContext<javax.servlet.ServletRequest>
The context that represents the request scope.
- Version:
- $Id$
- Author:
- Nicolas Filotto
| Methods inherited from class org.exoplatform.container.context.AbstractContext |
activate, destroy, destroy, destroy, get, get, getId, getInstance, getStorage, getThreadContext, isActive, register, setStorage |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestContext
public RequestContext()
getScope
public Class<? extends Annotation> getScope()
-
createStorage
protected CreationContextStorage createStorage(javax.servlet.ServletRequest key)
- Creates a
CreationContextStorage instance from the given key
- Specified by:
createStorage in class AbstractContext<javax.servlet.ServletRequest>
- Parameters:
key - the key to use to create the CreationContextStorage
- Returns:
- the
CreationContextStorage corresponding to the given key
Copyright © 2014 eXo Platform SAS. All Rights Reserved.