com.google.code.rees.scope.conversation.configuration
Interface ConversationConfigurationProvider

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

public interface ConversationConfigurationProvider
extends Serializable, PostConstructable

This class is used by ConversationManagers to obtain the ConversationConfigurations for a given action/controller class

Author:
rees.byars

Method Summary
 Collection<ConversationClassConfiguration> getConfigurations(Class<?> actionClass)
          Get the ConversationConfigurations for a given class
 void setActionProvider(ActionProvider actionProvider)
          Set the ActionProvider for building action configurations on startup
 void setArbitrator(ConversationArbitrator arbitrator)
          Set the ConversationArbitrator to be used for building the configurations
 void setDefaultMaxIdleTime(long maxIdleTimeMillis)
          Set the default max idle time for conversations
 
Methods inherited from interface com.google.code.rees.scope.container.PostConstructable
init
 

Method Detail

setDefaultMaxIdleTime

void setDefaultMaxIdleTime(long maxIdleTimeMillis)
Set the default max idle time for conversations

Parameters:
maxIdleTime -

setArbitrator

void setArbitrator(ConversationArbitrator arbitrator)
Set the ConversationArbitrator to be used for building the configurations

Parameters:
arbitrator -

setActionProvider

void setActionProvider(ActionProvider actionProvider)
Set the ActionProvider for building action configurations on startup

Parameters:
actionProvider -

getConfigurations

Collection<ConversationClassConfiguration> getConfigurations(Class<?> actionClass)
Get the ConversationConfigurations for a given class

Parameters:
actionClass -
Returns:


Copyright © 2012-2013. All Rights Reserved.