org.apache.webbeans.context
Class AbstractContextsService
java.lang.Object
org.apache.webbeans.context.AbstractContextsService
- All Implemented Interfaces:
- ContextsService
- Direct Known Subclasses:
- DefaultContextsService
public abstract class AbstractContextsService
- extends Object
- implements ContextsService
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
webBeansContext
protected final WebBeansContext webBeansContext
supportsConversation
protected boolean supportsConversation
AbstractContextsService
protected AbstractContextsService(WebBeansContext webBeansContext)
destroy
public void destroy(Object destroyObject)
- Specified by:
destroy in interface ContextsService
endContext
public void endContext(Class<? extends Annotation> scopeType,
Object endParameters)
- Specified by:
endContext in interface ContextsService
getCurrentContext
public javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType)
- Specified by:
getCurrentContext in interface ContextsService
getCurrentContext
public javax.enterprise.context.spi.Context getCurrentContext(Class<? extends Annotation> scopeType,
boolean createIfNotExists)
- Specified by:
getCurrentContext in interface ContextsService
init
public void init(Object initializeObject)
- Specified by:
init in interface ContextsService
startContext
public void startContext(Class<? extends Annotation> scopeType,
Object startParameter)
throws javax.enterprise.context.ContextException
- Specified by:
startContext in interface ContextsService
- Throws:
javax.enterprise.context.ContextException
removeThreadLocals
public void removeThreadLocals()
- Specified by:
removeThreadLocals in interface ContextsService
setSupportConversations
public void setSupportConversations(boolean supportConversations)
- Specified by:
setSupportConversations in interface ContextsService
destroyOutdatedConversations
public void destroyOutdatedConversations(ConversationContext currentConversationContext)
- Destroy inactive (timed out) conversations.
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.