com.google.code.rees.scope.conversation.processing
Class DefaultInjectionConversationProcessor
java.lang.Object
com.google.code.rees.scope.conversation.processing.SimpleConversationProcessor
com.google.code.rees.scope.conversation.processing.DefaultInjectionConversationProcessor
- All Implemented Interfaces:
- ConversationPostProcessor, ConversationProcessor, InjectionConversationProcessor, Serializable
public class DefaultInjectionConversationProcessor
- extends SimpleConversationProcessor
- implements InjectionConversationProcessor, ConversationPostProcessor
The default implementation of the InjectionConversationProcessor
- 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 |
DefaultInjectionConversationProcessor
public DefaultInjectionConversationProcessor()
processConversation
protected void processConversation(ConversationClassConfiguration conversationConfig,
ConversationAdapter conversationAdapter,
Object action)
throws ConversationException
-
- Overrides:
processConversation in class SimpleConversationProcessor
- Throws:
ConversationException
postProcessConversation
public void postProcessConversation(ConversationAdapter conversationAdapter,
ConversationClassConfiguration conversationConfig,
String conversationId)
- Perform the post-processing using the given parameters
- Specified by:
postProcessConversation in interface ConversationPostProcessor
injectConversationFields
public void injectConversationFields(Object target,
ConversationAdapter conversationAdapter)
- Inject the
ConversationFields on the target
from the appropriate conversation contexts for active conversations
associated with the current request
- Specified by:
injectConversationFields in interface InjectionConversationProcessor
extractConversationFields
public void extractConversationFields(Object target,
ConversationAdapter conversationAdapter)
- Extract the
ConversationFields from the target
and place them into the conversations' contexts for active conversations
associated with the current request.
- Specified by:
extractConversationFields in interface InjectionConversationProcessor
Copyright © 2012-2013. All Rights Reserved.