public abstract class AbstractContextsService extends Object implements ContextsService
| Modifier and Type | Field and Description |
|---|---|
protected Boolean |
fireRequestLifecycleEvents |
protected boolean |
supportsConversation |
protected WebBeansContext |
webBeansContext |
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractContextsService(WebBeansContext webBeansContext) |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy(Object destroyObject) |
void |
destroyOutdatedConversations(ConversationContext currentConversationContext)
Destroy inactive (timed out) conversations.
|
void |
endContext(Class<? extends Annotation> scopeType,
Object endParameters) |
javax.enterprise.context.spi.Context |
getCurrentContext(Class<? extends Annotation> scopeType) |
javax.enterprise.context.spi.Context |
getCurrentContext(Class<? extends Annotation> scopeType,
boolean createIfNotExists) |
void |
init(Object initializeObject) |
boolean |
isSupportsConversation() |
void |
removeThreadLocals() |
void |
setSupportConversations(boolean supportConversations) |
protected boolean |
shouldFireRequestLifecycleEvents() |
void |
startContext(Class<? extends Annotation> scopeType,
Object startParameter) |
protected final WebBeansContext webBeansContext
protected boolean supportsConversation
protected Boolean fireRequestLifecycleEvents
protected AbstractContextsService(WebBeansContext webBeansContext)
public void destroy(Object destroyObject)
destroy in interface ContextsServicepublic void endContext(Class<? extends Annotation> scopeType, Object endParameters)
endContext in interface ContextsServicepublic javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType)
getCurrentContext in interface ContextsServicepublic javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType, boolean createIfNotExists)
getCurrentContext in interface ContextsServicepublic void init(Object initializeObject)
init in interface ContextsServicepublic void startContext(Class<? extends Annotation> scopeType, Object startParameter) throws javax.enterprise.context.ContextException
startContext in interface ContextsServicejavax.enterprise.context.ContextExceptionpublic void removeThreadLocals()
removeThreadLocals in interface ContextsServicepublic void setSupportConversations(boolean supportConversations)
setSupportConversations in interface ContextsServicepublic void destroyOutdatedConversations(ConversationContext currentConversationContext)
public boolean isSupportsConversation()
protected boolean shouldFireRequestLifecycleEvents()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.