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