com.atomikos.icatch.imp
Class ResumePreviousTransactionSubTxAwareParticipant
java.lang.Object
com.atomikos.icatch.imp.ResumePreviousTransactionSubTxAwareParticipant
- All Implemented Interfaces:
- SubTxAwareParticipant, Serializable
public class ResumePreviousTransactionSubTxAwareParticipant
- extends Object
- implements SubTxAwareParticipant
A subtx aware participant that resumes a previous
transaction upon termination of the (sub)transaction
it is registered with.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResumePreviousTransactionSubTxAwareParticipant
public ResumePreviousTransactionSubTxAwareParticipant(CompositeTransaction previous)
committed
public void committed(CompositeTransaction tx)
- Description copied from interface:
SubTxAwareParticipant
- Notification of termination.
- Specified by:
committed
in interface SubTxAwareParticipant
- Parameters:
tx
- The composite transaction that has terminated
locally at its node.
rolledback
public void rolledback(CompositeTransaction tx)
- Description copied from interface:
SubTxAwareParticipant
- Notification that some tx has been rolledback.
- Specified by:
rolledback
in interface SubTxAwareParticipant
Copyright © 2011. All Rights Reserved.