| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tuscany.sca.core.conversation.ExtendedConversationImpl
public class ExtendedConversationImpl
| Constructor Summary | |
|---|---|
ExtendedConversationImpl(ConversationManagerImpl manager,
                         java.lang.Object conversationID,
                         ConversationState state)
Constructor  | 
|
| Method Summary | |
|---|---|
 boolean | 
conversationalAttributesInitialized()
 | 
 void | 
end()
End this conversation.  | 
 java.lang.Object | 
getConversationID()
Returns the identifier for this conversation.  | 
 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 | 
run()
called when expiring  | 
 void | 
scheduleNextExpiryTime(long currentTime)
schedule next expiry time  | 
 void | 
setConversationID(java.lang.Object conversationID)
 | 
 void | 
setState(ConversationState state)
 | 
 void | 
updateLastReferencedTime()
updates the last time this conversation was referenced  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public ExtendedConversationImpl(ConversationManagerImpl manager,
                                java.lang.Object conversationID,
                                ConversationState state)
manager - the conversation managerconversationID - the conversation id associated with this conversationstate - the initial state of this conversationaMaxAge - the maximum age of the conversationaMaxIdleTime - the maximum idle time| Method Detail | 
|---|
public boolean isExpired()
isExpired in interface ExtendedConversationpublic void scheduleNextExpiryTime(long currentTime)
public void updateLastReferencedTime()
updateLastReferencedTime in interface ExtendedConversationpublic ConversationState getState()
ExtendedConversation
getState in interface ExtendedConversationpublic void end()
org.osoa.sca.Conversation
end in interface org.osoa.sca.Conversationpublic java.lang.Object getConversationID()
org.osoa.sca.Conversation
getConversationID in interface org.osoa.sca.Conversationpublic void setState(ConversationState state)
setState in interface ExtendedConversationstate - the state to setpublic void setConversationID(java.lang.Object conversationID)
setConversationID in interface ExtendedConversationconversationID - the conversationID to setpublic void initializeConversationAttributes(RuntimeComponent targetComponent)
initializeConversationAttributes in interface ExtendedConversationmaxAge - the maximum age of this conversationpublic boolean conversationalAttributesInitialized()
conversationalAttributesInitialized in interface ExtendedConversationpublic void run()
run in interface java.lang.Runnable
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||