eXo Kernel :: Container 2.5.0-GA

org.exoplatform.container.context
Class SessionContext

java.lang.Object
  extended by org.exoplatform.container.context.AbstractContext<K>
      extended by org.exoplatform.container.context.SharedContext<javax.servlet.http.HttpSession>
          extended by org.exoplatform.container.context.SessionContext
All Implemented Interfaces:
javax.enterprise.context.spi.Context, ThreadContextHolder, AdvancedContext<javax.servlet.http.HttpSession>

public class SessionContext
extends SharedContext<javax.servlet.http.HttpSession>

The context that represents the SessionScoped. The key used is the id of the session.

Version:
$Id$
Author:
Nicolas Filotto

Field Summary
 
Fields inherited from interface org.exoplatform.container.component.ThreadContextHolder
MANAGE_THREAD_LOCAL
 
Constructor Summary
SessionContext()
           
 
Method Summary
protected  CreationContextStorage createStorage(javax.servlet.http.HttpSession key)
          Creates a CreationContextStorage instance from the given key
 Class<? extends Annotation> getScope()
          
 
Methods inherited from class org.exoplatform.container.context.SharedContext
getLock, isSharable
 
Methods inherited from class org.exoplatform.container.context.AbstractContext
activate, deactivate, destroy, destroy, destroy, get, get, getId, getInstance, getStorage, getThreadContext, isActive, register, setStorage, unregister
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SessionContext

public SessionContext()
Method Detail

getScope

public Class<? extends Annotation> getScope()


createStorage

protected CreationContextStorage createStorage(javax.servlet.http.HttpSession key)
Creates a CreationContextStorage instance from the given key

Specified by:
createStorage in class AbstractContext<javax.servlet.http.HttpSession>
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.