|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.webbeans.context.AbstractContextsService
org.apache.webbeans.web.context.WebContextsService
public class WebContextsService
Web container ContextsService
implementation.
| Field Summary | |
|---|---|
protected FailOverService |
failoverService
|
| Constructor Summary | |
|---|---|
WebContextsService(WebBeansContext webBeansContext)
Creates a new instance. |
|
| Method Summary | |
|---|---|
void |
activateContext(Class<? extends Annotation> scopeType)
This might be needed when you aim to start a new thread in a WebApp. |
void |
destroy(Object destroyObject)
|
void |
endContext(Class<? extends Annotation> scopeType,
Object endParameters)
|
Context |
getCurrentContext(Class<? extends Annotation> scopeType)
|
SessionContextManager |
getSessionContextManager()
|
void |
init(Object initializeObject)
|
static void |
removeThreadLocals()
Removes the ThreadLocals from the ThreadMap to prevent memory leaks. |
void |
startContext(Class<? extends Annotation> scopeType,
Object startParameter)
|
boolean |
supportsContext(Class<? extends Annotation> scopeType)
|
| Methods inherited from class org.apache.webbeans.context.AbstractContextsService |
|---|
deActivateContext |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected FailOverService failoverService
| Constructor Detail |
|---|
public WebContextsService(WebBeansContext webBeansContext)
| Method Detail |
|---|
public static void removeThreadLocals()
public SessionContextManager getSessionContextManager()
public void init(Object initializeObject)
init in interface ContextsServiceinit in class AbstractContextsServicepublic void destroy(Object destroyObject)
destroy in interface ContextsServicedestroy in class AbstractContextsService
public void endContext(Class<? extends Annotation> scopeType,
Object endParameters)
endContext in interface ContextsServiceendContext in class AbstractContextsServicepublic Context getCurrentContext(Class<? extends Annotation> scopeType)
getCurrentContext in interface ContextsServicegetCurrentContext in class AbstractContextsService
public void startContext(Class<? extends Annotation> scopeType,
Object startParameter)
throws ContextException
startContext in interface ContextsServicestartContext in class AbstractContextsServiceContextExceptionpublic boolean supportsContext(Class<? extends Annotation> scopeType)
supportsContext in interface ContextsServicesupportsContext in class AbstractContextsServicepublic void activateContext(Class<? extends Annotation> scopeType)
activateContext in interface ContextsServiceactivateContext in class AbstractContextsServicescopeType -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||