org.exoplatform.container.context
Class SessionContext
java.lang.Object
org.exoplatform.container.context.AbstractContext<K>
org.exoplatform.container.context.SharedContext<javax.servlet.http.HttpSession>
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
| 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 |
SessionContext
public SessionContext()
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
Copyright © 2014 eXo Platform SAS. All Rights Reserved.