|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.entirex.aci.ConversationState
public final class ConversationState
Class used to save the state of conversations.
Can be used for both Conversation and UnitofWork objects.
Objects of this class can be serialized and deserialized
using standard Java serialization.
Objects can also be re-instantiated using a ticket string.
The ticket is obtained with the getTicket() method. The object
can be instantiated using the ticket with the restoreFromTicket() method.
BrokerCommunication.saveState()
,
Conversation.Conversation(BrokerService, ConversationState)
,
UnitofWork.UnitofWork(BrokerService, ConversationState)
,
Serialized FormMethod Summary | |
---|---|
java.lang.String |
getTicket()
Returns the ticket of this ConversationState object. |
static ConversationState |
restoreFromTicket(java.lang.String ticket)
Create a ConversationState object from the specifed ticket. |
java.lang.String |
toString()
Return the ticket of this ConversationState object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public static ConversationState restoreFromTicket(java.lang.String ticket) throws java.lang.IllegalArgumentException
ticket
- the ticket
java.lang.IllegalArgumentException
- if ticket is not valid.getTicket()
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getTicket()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |