com.google.code.rees.scope.conversation.processing
Class SimpleConversationProcessor
java.lang.Object
com.google.code.rees.scope.conversation.processing.SimpleConversationProcessor
- All Implemented Interfaces:
- ConversationProcessor, Serializable
- Direct Known Subclasses:
- DefaultInjectionConversationProcessor
public class SimpleConversationProcessor
- extends Object
- implements ConversationProcessor
A simple yet effective implementation of ConversationProcessor that
manages conversation life cycles, but does not inject
ConversationFields. Ideal for using in cases such
as when field injection will be handled by Spring.
- Author:
- rees.byars
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
configurationProvider
protected ConversationConfigurationProvider configurationProvider
SimpleConversationProcessor
public SimpleConversationProcessor()
setConfigurationProvider
@Component
public void setConfigurationProvider(ConversationConfigurationProvider configurationProvider)
- Set the configuration provider for this manager
- Specified by:
setConfigurationProvider in interface ConversationProcessor
processConversations
public void processConversations(ConversationAdapter conversationAdapter)
throws ConversationException
- Process the conversations for the current request using the given adapter
- Specified by:
processConversations in interface ConversationProcessor
- Throws:
ConversationException
processConversation
protected void processConversation(ConversationClassConfiguration conversationConfig,
ConversationAdapter conversationAdapter,
Object action)
throws ConversationException
- Throws:
ConversationException
handleInvalidId
protected void handleInvalidId(String conversationName,
String conversationId)
throws ConversationIdException
- Throws:
ConversationIdException
Copyright © 2012-2013. All Rights Reserved.