|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tuscany.sca.core.conversation.ConversationManagerImpl
public class ConversationManagerImpl
Constructor Summary | |
---|---|
ConversationManagerImpl()
constructor |
Method Summary | |
---|---|
void |
addListener(ConversationListener listener)
Add a listener to this conversation |
void |
endConversation(java.lang.Object conversationID)
|
void |
expireConversation(java.lang.Object conversationID)
|
ExtendedConversation |
getConversation(java.lang.Object conversationID)
|
long |
getMaxAge()
returns the default max age |
long |
getMaxIdleTime()
return the default max idle time |
void |
removeListener(ConversationListener listener)
Remove a listener from this conversation |
void |
scheduleConversation(ExtendedConversationImpl aConversation,
long time)
starts the reaper thread |
ExtendedConversation |
startConversation(java.lang.Object conversationID)
|
void |
stopReaper()
stops the reaper thread |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConversationManagerImpl()
Method Detail |
---|
public void addListener(ConversationListener listener)
ConversationManager
addListener
in interface ConversationManager
ConversationManager.addListener(org.apache.tuscany.sca.core.conversation.ConversationListener)
public void endConversation(java.lang.Object conversationID)
endConversation
in interface ConversationManager
org.apache.tuscany.sca.core.conversation.ConversationManager#endConversation(org.apache.tuscany.sca.core.conversation.ExtendedConversation)
public void expireConversation(java.lang.Object conversationID)
expireConversation
in interface ConversationManager
public ExtendedConversation getConversation(java.lang.Object conversationID)
getConversation
in interface ConversationManager
ConversationManager.getConversation(java.lang.Object)
public void removeListener(ConversationListener listener)
ConversationManager
removeListener
in interface ConversationManager
ConversationManager.removeListener(org.apache.tuscany.sca.core.conversation.ConversationListener)
public void scheduleConversation(ExtendedConversationImpl aConversation, long time)
public void stopReaper()
public ExtendedConversation startConversation(java.lang.Object conversationID)
startConversation
in interface ConversationManager
ConversationManager.startConversation(java.lang.Object)
public long getMaxIdleTime()
getMaxIdleTime
in interface ConversationManager
impProvider
- the implementation Provider to extract any ConversationAttribute details
public long getMaxAge()
getMaxAge
in interface ConversationManager
impProvider
- the implementation Provider to extract any ConversationAttribute details
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |