com.atomikos.icatch
Interface CompositeTerminator


Deprecated. This functionality is now available directly via the CompositeTransaction.

public interface CompositeTerminator

A handle to terminate the composite transaction.


Method Summary
 void commit()
          Deprecated. Commit the composite transaction.
 void rollback()
          Deprecated. Rollback the current transaction.
 

Method Detail

commit

void commit()
            throws HeurRollbackException,
                   HeurMixedException,
                   HeurHazardException,
                   SysException,
                   SecurityException,
                   RollbackException
Deprecated. 
Commit the composite transaction.

Throws:
HeurRollbackException - On heuristic rollback.
HeurMixedException - On heuristic mixed outcome.
SysException - For unexpected failures.
SecurityException - If calling thread does not have right to commit.
HeurHazardException - In case of heuristic hazard.
RollbackException - If the transaction was rolled back before prepare.

rollback

void rollback()
              throws IllegalStateException,
                     SysException
Deprecated. 
Rollback the current transaction.

Throws:
IllegalStateException - If prepared or inactive.
SysException - If unexpected error.


Copyright © 2012. All Rights Reserved.