org.apache.myfaces.orchestra.conversation
Class SerializingConversationDataHolder
java.lang.Object
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.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SerializingConversationDataHolder
public SerializingConversationDataHolder(Map conversationBeans)
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.