From 4ca8350627151525a6be0c234975bd002510d885 Mon Sep 17 00:00:00 2001 From: Micha Kiener Date: Wed, 30 Dec 2009 12:43:29 +0000 Subject: [PATCH] SPR-6419, manager API --- .../conversation/manager/ConversationManager.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/org.springframework.context/src/main/java/org/springframework/conversation/manager/ConversationManager.java b/org.springframework.context/src/main/java/org/springframework/conversation/manager/ConversationManager.java index af13080243..695e225d67 100644 --- a/org.springframework.context/src/main/java/org/springframework/conversation/manager/ConversationManager.java +++ b/org.springframework.context/src/main/java/org/springframework/conversation/manager/ConversationManager.java @@ -234,10 +234,13 @@ public interface ConversationManager { * Switches to the given conversation, making it the current one, however, * the previously conversation is not removed. * - * @param conversation the conversation to be switched to, making it the - * current one + * @param conversationId the id of the conversation to be switched to, + * making it the current one + * @return the conversation object switched to, if the given id was actually + * available, null, if the conversation was not found and hence + * the old current conversation remains the same */ - void switchConversation(Conversation conversation); + Conversation switchConversation(String conversationId); /** * Returns the timeout to be set on a newly created conversation by default -- GitLab