com.google.code.rees.scope.conversation.context
Interface HttpConversationContextManagerProvider

All Superinterfaces:
PostConstructable, Serializable
All Known Implementing Classes:
DefaultHttpConversationContextManagerProvider

public interface HttpConversationContextManagerProvider
extends Serializable, PostConstructable

Used for creating ConversationContextManagers that are tied to the given request (or more likely, that request's session)

Author:
rees.byars

Method Summary
 ConversationContextManager getManager(javax.servlet.http.HttpServletRequest request)
          Return the ConversationContextManager for this request
 void setConversationContextFactory(ConversationContextFactory conversationContextFactory)
          set the ConversationContextFactory
 void setMaxInstances(int maxInstances)
          set the max number of instances of conversations
 void setMonitoringFrequency(long monitoringFrequency)
          set the frequency in milliseconds for monitoring timeouts
 void setMonitoringThreadPoolSize(int monitoringThreadPoolSize)
          The number of threads that will be used to monitor conversation timeouts
 
Methods inherited from interface com.google.code.rees.scope.container.PostConstructable
init
 

Method Detail

setMonitoringThreadPoolSize

void setMonitoringThreadPoolSize(int monitoringThreadPoolSize)
The number of threads that will be used to monitor conversation timeouts

Parameters:
monitoringThreadPoolSize -

setMonitoringFrequency

void setMonitoringFrequency(long monitoringFrequency)
set the frequency in milliseconds for monitoring timeouts

Parameters:
monitoringFrequency -

setMaxInstances

void setMaxInstances(int maxInstances)
set the max number of instances of conversations

Parameters:
maxInstances -

setConversationContextFactory

void setConversationContextFactory(ConversationContextFactory conversationContextFactory)
set the ConversationContextFactory

Parameters:
conversationContextFactory -

getManager

ConversationContextManager getManager(javax.servlet.http.HttpServletRequest request)
Return the ConversationContextManager for this request

Parameters:
request -
Returns:


Copyright © 2012-2013. All Rights Reserved.