com.atomikos.icatch.trmi
Interface RemoteSubTxAware

All Superinterfaces:
Remote

public interface RemoteSubTxAware
extends Remote

In case of distributed transactions over RMI, a remote participant must implement Remote and thus the SubTxAwareParticipant interface in itself is not enough. Therefore, we provide this trmi interface that remote subtxawares should implement. Instances should be wrapped in a SubTxAwareWrapper before adding to the composite transaction.


Method Summary
 void committed(CompositeTransaction tx)
          The same method as in SubTxAwareParticipant, but with a remote exception.
 void rolledback(CompositeTransaction tx)
          The same method as in SubTxAwareParticipant, but with a remote exception.
 

Method Detail

committed

void committed(CompositeTransaction tx)
               throws RemoteException
The same method as in SubTxAwareParticipant, but with a remote exception.

Throws:
RemoteException

rolledback

void rolledback(CompositeTransaction tx)
                throws RemoteException
The same method as in SubTxAwareParticipant, but with a remote exception.

Throws:
RemoteException


Copyright © 2012. All Rights Reserved.