public class CdiAppContextsService
extends org.apache.webbeans.context.AbstractContextsService
implements org.apache.webbeans.spi.ContextsService
| Modifier and Type | Class and Description |
|---|---|
static class |
CdiAppContextsService.State |
| Constructor and Description |
|---|
CdiAppContextsService() |
CdiAppContextsService(org.apache.webbeans.config.WebBeansContext wbc,
boolean supportsConversation) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(Object destroyObject) |
void |
endContext(Class<? extends Annotation> scopeType,
Object endParameters) |
javax.enterprise.context.spi.Context |
getCurrentContext(Class<? extends Annotation> scopeType) |
void |
init(Object initializeObject) |
static void |
pushRequestReleasable(Runnable runnable) |
void |
removeThreadLocals() |
CdiAppContextsService.State |
restoreState(CdiAppContextsService.State state) |
CdiAppContextsService.State |
saveState() |
void |
startContext(Class<? extends Annotation> scopeType,
Object startParameter) |
boolean |
supportsContext(Class<? extends Annotation> scopeType) |
void |
updateSessionIdMapping(String oldId,
String newId) |
activateContext, deActivateContextpublic CdiAppContextsService()
public CdiAppContextsService(org.apache.webbeans.config.WebBeansContext wbc,
boolean supportsConversation)
public static void pushRequestReleasable(Runnable runnable)
public void init(Object initializeObject)
init in interface org.apache.webbeans.spi.ContextsServiceinit in class org.apache.webbeans.context.AbstractContextsServicepublic void destroy(Object destroyObject)
destroy in interface org.apache.webbeans.spi.ContextsServicedestroy in class org.apache.webbeans.context.AbstractContextsServicepublic void removeThreadLocals()
public void endContext(Class<? extends Annotation> scopeType, Object endParameters)
endContext in interface org.apache.webbeans.spi.ContextsServiceendContext in class org.apache.webbeans.context.AbstractContextsServicepublic javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType)
getCurrentContext in interface org.apache.webbeans.spi.ContextsServicegetCurrentContext in class org.apache.webbeans.context.AbstractContextsServicepublic void startContext(Class<? extends Annotation> scopeType, Object startParameter) throws javax.enterprise.context.ContextException
startContext in interface org.apache.webbeans.spi.ContextsServicestartContext in class org.apache.webbeans.context.AbstractContextsServicejavax.enterprise.context.ContextExceptionpublic boolean supportsContext(Class<? extends Annotation> scopeType)
supportsContext in interface org.apache.webbeans.spi.ContextsServicesupportsContext in class org.apache.webbeans.context.AbstractContextsServicepublic CdiAppContextsService.State saveState()
public CdiAppContextsService.State restoreState(CdiAppContextsService.State state)
Copyright © 1999–2014 The Apache Software Foundation. All rights reserved.