Package org.springframework.webflow.conversation

Examples of org.springframework.webflow.conversation.Conversation.end()


    Conversation conversation = conversationManager.beginConversation(new ConversationParameters("test", "test",
        "test"));
    ConversationId conversationId = conversation.getId();
    assertNotNull(conversationManager.getConversation(conversationId));
    conversation.lock();
    conversation.end();
    conversation.unlock();
    try {
      conversationManager.getConversation(conversationId);
      fail("Conversation should have ben removed");
    } catch (ConversationException e) {
View Full Code Here


    }
  }

  private Conversation endConversation(FlowExecution flowExecution) {
    Conversation conversation = getConversation(flowExecution.getKey());
    conversation.end();
    return conversation;
  }

}
View Full Code Here

    Conversation conversation = conversationManager.beginConversation(new ConversationParameters("test", "test",
        "test"));
    ConversationId conversationId = conversation.getId();
    assertNotNull(conversationManager.getConversation(conversationId));
    conversation.lock();
    conversation.end();
    conversation.unlock();
    try {
      conversationManager.getConversation(conversationId);
      fail("Conversation should have ben removed");
    } catch (ConversationException e) {
View Full Code Here

    }
  }

  private Conversation endConversation(FlowExecution flowExecution) {
    Conversation conversation = getConversation(flowExecution.getKey());
    conversation.end();
    return conversation;
  }

}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.