org.jboss.webbeans.conversation
Interface ConversationManager

All Known Implementing Classes:
ServletConversationManager

public interface ConversationManager

A conversation manager responsible for starting, resuming and ending conversations

Author:
Nicklas Karlsson
See Also:
ConversationManager

Method Summary
 void beginOrRestoreConversation(java.lang.String cid)
          Begins or restores a conversation
 void cleanupConversation()
          Cleans up the current conversation, destroying transient conversation and handling long-running conversations
 void destroyAllConversations()
          Destroys all long-running conversations
 java.util.Set<Conversation> getLongRunningConversations()
          Gets the currently managed long-running conversations
 

Method Detail

beginOrRestoreConversation

void beginOrRestoreConversation(java.lang.String cid)
Begins or restores a conversation

Parameters:
cid - The incoming conversation ID. Can be null in cases of transient conversations

cleanupConversation

void cleanupConversation()
Cleans up the current conversation, destroying transient conversation and handling long-running conversations


destroyAllConversations

void destroyAllConversations()
Destroys all long-running conversations


getLongRunningConversations

java.util.Set<Conversation> getLongRunningConversations()
Gets the currently managed long-running conversations

Returns:
the conversations


Copyright © 2011. All Rights Reserved.