com.atomikos.icatch.msg
Interface RegisterMessage

All Superinterfaces:
TransactionMessage
All Known Implementing Classes:
RegisterMessageImp

public interface RegisterMessage
extends TransactionMessage

A registration message for registering participants (needed for protocols such as WS-T).

The targetURI is supposed to be the tid of the corresponding CompositeTransaction instance!


Field Summary
 
Fields inherited from interface com.atomikos.icatch.msg.TransactionMessage
COMMIT_MESSAGE, ERROR_MESSAGE, FORGET_MESSAGE, FORMAT_SOAP, FORMAT_UNKNOWN, PREPARE_MESSAGE, PREPARED_MESSAGE, REGISTER_MESSAGE, REGISTERED_MESSAGE, REPLAY_MESSAGE, ROLLBACK_MESSAGE, STATE_MESSAGE
 
Method Summary
 boolean registerForTwo2PC()
          Indicates if the registration is for 2PC or rather for synchronization.
 
Methods inherited from interface com.atomikos.icatch.msg.TransactionMessage
getFormat, getMessageType, getProtocol, getSenderAddress, getSenderURI, getTargetAddress, getTargetURI
 

Method Detail

registerForTwo2PC

boolean registerForTwo2PC()
Indicates if the registration is for 2PC or rather for synchronization.

Returns:
True if for 2PC, false if for synchronization.


Copyright © 2012. All Rights Reserved.