|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.webbeans.conversation.ServletConversationManager
@SessionScoped @WebBean public class ServletConversationManager
The default conversation manager
Constructor Summary | |
---|---|
ServletConversationManager()
Creates a new conversation manager |
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 |
static long |
getConversationConcurrentAccessTimeout()
|
static java.lang.String |
getConversationIdName()
|
static long |
getConversationTimeoutInMilliseconds()
|
java.util.Set<Conversation> |
getLongRunningConversations()
Gets the currently managed long-running conversations |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServletConversationManager()
Method Detail |
---|
@Produces @ConversationInactivityTimeout @WebBean public static long getConversationTimeoutInMilliseconds()
@Produces @ConversationConcurrentAccessTimeout @WebBean public static long getConversationConcurrentAccessTimeout()
@Produces @ConversationIdName @WebBean public static java.lang.String getConversationIdName()
public void beginOrRestoreConversation(java.lang.String cid)
ConversationManager
beginOrRestoreConversation
in interface ConversationManager
cid
- The incoming conversation ID. Can be null in cases of transient conversationspublic void cleanupConversation()
ConversationManager
cleanupConversation
in interface ConversationManager
public void destroyAllConversations()
ConversationManager
destroyAllConversations
in interface ConversationManager
public java.util.Set<Conversation> getLongRunningConversations()
ConversationManager
getLongRunningConversations
in interface ConversationManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |