Class DefaultTransactionManager

java.lang.Object
cloud.piranha.transaction.nonxa.DefaultTransactionManager
All Implemented Interfaces:
TransactionManager

public class DefaultTransactionManager
extends java.lang.Object
implements TransactionManager
The default TransactionManager.
Author:
Manfred Riem ([email protected])
  • Constructor Summary

    Constructors 
    Constructor Description
    DefaultTransactionManager()
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    void begin()
    Begin a transaction.
    void commit()
    Commit a transaction.
    int getStatus()
    Get the status.
    Transaction getTransaction()
    Get the transaction.
    void resume​(Transaction transaction)
    Resume the transaction.
    void rollback()
    Rollback the transaction.
    void setRollbackOnly()
    Set the rollback only.
    void setTransactionTimeout​(int timeout)
    Set the transaction timeout.
    Transaction suspend()
    Suspend the transaction.

    Methods inherited from class java.lang.Object

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