com.atomikos.icatch
Interface ExportingTransactionManager

All Known Implementing Classes:
TrmiTransactionManager

public interface ExportingTransactionManager

An interface for a TM that allows outgoing remote calls to be transactional.


Method Summary
 void addExtent(Extent extent)
          Should be called after call returns successfully: adds the extent of the call to the current transaction.
 Propagation getPropagation()
          Gets the propagation info of the transaction for the calling thread.
 

Method Detail

getPropagation

Propagation getPropagation()
                           throws SysException,
                                  RollbackException
Gets the propagation info of the transaction for the calling thread. Should be called before doing the remote call.

Returns:
Propagation The propagation for the current thread.
Throws:
RollbackException - If no such transaction exists, e.g. after a prior rollback.
SysException

addExtent

void addExtent(Extent extent)
               throws SysException,
                      RollbackException
Should be called after call returns successfully: adds the extent of the call to the current transaction. If a remote call has failed, this method should NOT be called.

Parameters:
extent - The extent of the call.
Throws:
RollbackException - If the current transaction has already rolled back.
SysException - On failure.


Copyright © 2012. All Rights Reserved.