public class WeldSessionScopeAdapter extends Object implements SessionScopeAdapter
SessionScoped
Modifier and Type | Method and Description |
---|---|
void |
activateContext()
Associate and activate the context for the current
Thread |
void |
activateContext(javax.servlet.http.HttpSession httpSession)
Activate context for
SessionScoped beans. |
void |
deactivateContext()
After this invocation, this context is no more in use for this
Thread |
static SyncBeanStore |
getCurrentBeanStore() |
static WeldSessionScopeAdapter |
getInstance() |
static void |
init(org.jboss.weld.manager.BeanManagerImpl beanManager) |
void |
invalidateContext()
Marks the currently bounded bean store as to be invalidated,
|
public static WeldSessionScopeAdapter getInstance()
public static void init(org.jboss.weld.manager.BeanManagerImpl beanManager)
public void activateContext(javax.servlet.http.HttpSession httpSession)
SessionScopeAdapter
SessionScoped
beans.activateContext
in interface SessionScopeAdapter
public void activateContext()
ScopeAdapter
Thread
activateContext
in interface ScopeAdapter
public void invalidateContext()
ScopeAdapter
invalidateContext
in interface ScopeAdapter
public void deactivateContext()
ScopeAdapter
Thread
deactivateContext
in interface ScopeAdapter
public static SyncBeanStore getCurrentBeanStore()
Copyright © 2013-2015 JBoss, a division of Red Hat. All Rights Reserved.