org.apache.myfaces.orchestra.conversation
Class SerializingConversationDataHolder

java.lang.Object
  extended by org.apache.myfaces.orchestra.conversation.SerializingConversationDataHolder
All Implemented Interfaces:
ConversationDataHolder

public class SerializingConversationDataHolder
extends Object
implements ConversationDataHolder

A wrapper around the beans hold by a conversation. This is one option in order to "copy" conversational data and keep it for subsequent requests. Another possibility would be cloning the whole tree of objects.

The holder serializes the conversation beans on creation and deserializes them when getting the beans.


Constructor Summary
SerializingConversationDataHolder(Map conversationBeans)
           
 
Method Summary
 Map getConversationBeans()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SerializingConversationDataHolder

public SerializingConversationDataHolder(Map conversationBeans)
Method Detail

getConversationBeans

public Map getConversationBeans()
Specified by:
getConversationBeans in interface ConversationDataHolder
Returns:
The map of beans stored before


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.