org.apache.tuscany.sca.core.conversation
Interface ExtendedConversation

All Superinterfaces:
org.osoa.sca.Conversation
All Known Implementing Classes:
ExtendedConversationImpl

public interface ExtendedConversation
extends org.osoa.sca.Conversation

An extended interface over org.osoa.Conversation


Method Summary
 boolean conversationalAttributesInitialized()
           
 ConversationState getState()
          Get the state of a conversation
 void initializeConversationAttributes(RuntimeComponent targetComponent)
           
 boolean isExpired()
          will check whether this conversation has expired and update state if it has
 void setConversationID(java.lang.Object conversationID)
           
 void setState(ConversationState state)
           
 void updateLastReferencedTime()
          updates the last time this conversation was referenced
 
Methods inherited from interface org.osoa.sca.Conversation
end, getConversationID
 

Method Detail

getState

ConversationState getState()
Get the state of a conversation

Returns:
The state

setState

void setState(ConversationState state)
Parameters:
state - the state to set

setConversationID

void setConversationID(java.lang.Object conversationID)
Parameters:
conversationID - the conversationID to set

isExpired

boolean isExpired()
will check whether this conversation has expired and update state if it has

Returns:
true if it has expired

updateLastReferencedTime

void updateLastReferencedTime()
updates the last time this conversation was referenced


initializeConversationAttributes

void initializeConversationAttributes(RuntimeComponent targetComponent)

conversationalAttributesInitialized

boolean conversationalAttributesInitialized()
Returns:
true if the conversational attributes have been initialized