Package org.jboss.weld.context.bound
Interface BoundConversationContext
-
- All Superinterfaces:
jakarta.enterprise.context.spi.AlterableContext,BoundContext<BoundRequest>,jakarta.enterprise.context.spi.Context,ConversationContext,ManagedContext,WeldAlterableContext
public interface BoundConversationContext extends ConversationContext, BoundContext<BoundRequest>
A conversation context which can be bound to a pair of Maps encapsulated by
BoundRequest. The context is automatically attached to the bound request on activation, and detached whenConversationContext.invalidate()is called.The
BoundConversationContextis detachable, and transient conversations are only attached at the end of a request.This context is not thread safe, and provides no thread safety for the underlying map. A thread-safe map can be used to back the context - in this case the map can be used as an underlying store in multiple threads safely.
- Author:
- Pete Muir
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandestroy(Map<String,Object> session)Destroy all conversations in the session.-
Methods inherited from interface org.jboss.weld.context.BoundContext
associate, dissociate
-
Methods inherited from interface jakarta.enterprise.context.spi.Context
get, get, getScope, isActive
-
Methods inherited from interface org.jboss.weld.context.ConversationContext
activate, activate, generateConversationId, getConcurrentAccessTimeout, getConversation, getConversations, getCurrentConversation, getDefaultTimeout, getParameterName, invalidate, setConcurrentAccessTimeout, setDefaultTimeout, setParameterName
-
Methods inherited from interface org.jboss.weld.context.ManagedContext
deactivate
-
Methods inherited from interface org.jboss.weld.context.WeldAlterableContext
clearAndSet, getAllContextualInstances
-
-