Package org.apache.webbeans.corespi.se
Class BaseSeContextsService
- java.lang.Object
-
- org.apache.webbeans.context.AbstractContextsService
-
- org.apache.webbeans.corespi.se.BaseSeContextsService
-
- All Implemented Interfaces:
org.apache.webbeans.spi.ContextsService
- Direct Known Subclasses:
DefaultContextsService,StandaloneContextsService
public abstract class BaseSeContextsService extends AbstractContextsService
-
-
Field Summary
-
Fields inherited from class org.apache.webbeans.context.AbstractContextsService
fireRequestLifecycleEvents, supportsConversation, webBeansContext
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseSeContextsService(WebBeansContext webBeansContext)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract voidcreateSingletonContext()voiddestroy(Object destroyObject)protected voiddestroyGlobalContexts()protected abstract voiddestroySingletonContext()voidendContext(Class<? extends Annotation> scopeType, Object endParameters)booleanfireApplicationScopeEvents()jakarta.enterprise.context.spi.ContextgetCurrentContext(Class<? extends Annotation> scopeType)protected abstract jakarta.enterprise.context.spi.ContextgetCurrentSingletonContext()voidstartContext(Class<? extends Annotation> scopeType, Object startParameter)-
Methods inherited from class org.apache.webbeans.context.AbstractContextsService
destroyOutdatedConversations, getCurrentContext, init, isSupportsConversation, removeThreadLocals, setSupportConversations, shouldFireRequestLifecycleEvents
-
-
-
-
Constructor Detail
-
BaseSeContextsService
protected BaseSeContextsService(WebBeansContext webBeansContext)
-
-
Method Detail
-
destroySingletonContext
protected abstract void destroySingletonContext()
-
getCurrentSingletonContext
protected abstract jakarta.enterprise.context.spi.Context getCurrentSingletonContext()
-
createSingletonContext
protected abstract void createSingletonContext()
-
endContext
public void endContext(Class<? extends Annotation> scopeType, Object endParameters)
- Specified by:
endContextin interfaceorg.apache.webbeans.spi.ContextsService- Overrides:
endContextin classAbstractContextsService
-
getCurrentContext
public jakarta.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType)
- Specified by:
getCurrentContextin interfaceorg.apache.webbeans.spi.ContextsService- Overrides:
getCurrentContextin classAbstractContextsService
-
startContext
public void startContext(Class<? extends Annotation> scopeType, Object startParameter) throws jakarta.enterprise.context.ContextException
- Specified by:
startContextin interfaceorg.apache.webbeans.spi.ContextsService- Overrides:
startContextin classAbstractContextsService- Throws:
jakarta.enterprise.context.ContextException
-
destroy
public void destroy(Object destroyObject)
- Specified by:
destroyin interfaceorg.apache.webbeans.spi.ContextsService- Overrides:
destroyin classAbstractContextsService
-
destroyGlobalContexts
protected void destroyGlobalContexts()
-
fireApplicationScopeEvents
public boolean fireApplicationScopeEvents()
-
-