|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.webflow.conversation.impl.SessionBindingConversationManager
public class SessionBindingConversationManager
Simple implementation of a conversation manager that stores conversations in the session attribute map.
| Constructor Summary | |
|---|---|
SessionBindingConversationManager()
|
|
| Method Summary | |
|---|---|
Conversation |
beginConversation(ConversationParameters conversationParameters)
Begin a new conversation. |
Conversation |
getConversation(ConversationId id)
Get the conversation with the provided id. |
ConversationId |
parseConversationId(java.lang.String encodedId)
Parse the string-encoded conversationId into its object form. |
void |
setConversationIdGenerator(UidGenerator uidGenerator)
Sets the configured generator for conversation ids. |
void |
setMaxConversations(int maxConversations)
Set the maximum number of allowed concurrent conversations. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SessionBindingConversationManager()
| Method Detail |
|---|
public void setConversationIdGenerator(UidGenerator uidGenerator)
public void setMaxConversations(int maxConversations)
public Conversation beginConversation(ConversationParameters conversationParameters)
throws ConversationException
ConversationManager
beginConversation in interface ConversationManagerconversationParameters - descriptive conversation parameters
ConversationException - an exception occured
public Conversation getConversation(ConversationId id)
throws ConversationException
ConversationManager
getConversation in interface ConversationManagerid - the conversation id
NoSuchConversationException - the id provided was invalid
ConversationException
public ConversationId parseConversationId(java.lang.String encodedId)
throws ConversationException
ConversationManagerConversationId.toString().
parseConversationId in interface ConversationManagerencodedId - the encoded id
ConversationException - an exception occured parsing the id
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||