eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container.context
Class RequestContext

java.lang.Object
  extended by org.exoplatform.container.context.AbstractContext<K>
      extended by org.exoplatform.container.context.UnSharedContext<javax.servlet.ServletRequest>
          extended by 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

Field Summary
 
Fields inherited from interface org.exoplatform.container.component.ThreadContextHolder
MANAGE_THREAD_LOCAL
 
Constructor Summary
RequestContext()
           
 
Method Summary
protected  CreationContextStorage createStorage(javax.servlet.ServletRequest key)
          Creates a CreationContextStorage instance from the given key
 Class<? extends Annotation> getScope()
          
 
Methods inherited from class org.exoplatform.container.context.UnSharedContext
deactivate, getLock, isSharable, unregister
 
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
 

Constructor Detail

RequestContext

public RequestContext()
Method Detail

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

eXo Kernel :: Container 2.5.0-GA

Copyright © 2014 eXo Platform SAS. All Rights Reserved.