|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.softwareag.entirex.aci.BrokerCommunication
public abstract class BrokerCommunication
Abstract superclass for conversational communication and UnitofWork
communication.
Defines methods which are used by both Conversation and
UnitofWork objects.
Conversation
,
UnitofWork
Field Summary | |
---|---|
protected BrokerService |
brokerService
The BrokerService object to which the Communication belongs. |
Method Summary | |
---|---|
void |
dispose()
Deprecated. This method does nothing, since no reference to the Conversation or UnitofWork object is held anymore. |
BrokerService |
getBrokerService()
Returns the BrokerService object to which the communication belongs. |
byte[] |
getUserData()
Returns the user data associated with this communication. |
ConversationState |
saveState()
Returns a ConversationState object for the current Conversation object or the current UnitofWork object. |
void |
setUserData(byte[] u)
Sets the user data associated with this communication. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected BrokerService brokerService
Method Detail |
---|
public BrokerService getBrokerService()
public byte[] getUserData()
public void setUserData(byte[] u)
u
- user data as byte array
java.lang.IllegalArgumentException
- Thrown if the length of the user data exceeds 16 bytes.getUserData()
public ConversationState saveState() throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
- if conversation ID is invalid.ConversationState
public void dispose() throws BrokerException
dispose()
does
not call the Broker.
BrokerException
- A Broker exception.
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |