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

All Superinterfaces:
Map<String,Object>, MonitoredContext<String,Object,ConversationContext>, Serializable, Timeoutable<ConversationContext>
All Known Implementing Classes:
DefaultConversationContext

public interface ConversationContext
extends MonitoredContext<String,Object,ConversationContext>

The context in which the conversation-scoped beans are placed. There is a separate context for each instance of each conversation.

Author:
rees.byars

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 String getConversationName()
          The name of the conversation for which this context represents an instance
 String getId()
          Get the context's id
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface com.google.code.rees.scope.util.monitor.Timeoutable
addTimeoutListener, getRemainingTime, reset, setMaxIdleTime, timeout
 

Method Detail

getId

String getId()
Get the context's id

Specified by:
getId in interface Timeoutable<ConversationContext>
Returns:

getConversationName

String getConversationName()
The name of the conversation for which this context represents an instance

Returns:


Copyright © 2012-2013. All Rights Reserved.