ResumePreviousTransactionSubTxAwareParticipant (Transactions JTA 4.0.6 API)
Date: 2018-01-11

com.atomikos.icatch.jta

## Class ResumePreviousTransactionSubTxAwareParticipant

- java.lang.Object
- - com.atomikos.icatch.jta.ResumePreviousTransactionSubTxAwareParticipant

- All Implemented Interfaces:
    SubTxAwareParticipant

      public class ResumePreviousTransactionSubTxAwareParticipant
      extends java.lang.Object
      implements SubTxAwareParticipant

  A subtx aware participant that resumes a previous transaction upon termination of the (sub)transaction it is registered with.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ResumePreviousTransactionSubTxAwareParticipant(CompositeTransaction previous)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `committed(CompositeTransaction tx)`
    `void` | `rolledback(CompositeTransaction tx)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ResumePreviousTransactionSubTxAwareParticipant

          public ResumePreviousTransactionSubTxAwareParticipant(CompositeTransaction previous)

  - ### Method Detail

    - #### committed

          public void committed(CompositeTransaction tx)

      Specified by:
        `committed` in interface `SubTxAwareParticipant`

    - #### rolledback

          public void rolledback(CompositeTransaction tx)

      Specified by:
        `rolledback` in interface `SubTxAwareParticipant`

Copyright © 2018. All Rights Reserved.