Class PooledDataSourceRegistry.TransactionManagerWithoutTransaction

java.lang.Object
org.nuxeo.runtime.datasource.PooledDataSourceRegistry.TransactionManagerWithoutTransaction
All Implemented Interfaces:
javax.transaction.TransactionManager
Enclosing class:
PooledDataSourceRegistry

public static class PooledDataSourceRegistry.TransactionManagerWithoutTransaction extends Object implements javax.transaction.TransactionManager
Transaction Manager that is never in a transaction and doesn't allow starting one.
Since:
11.1
  • Constructor Details

    • TransactionManagerWithoutTransaction

      public TransactionManagerWithoutTransaction()
  • Method Details

    • getTransaction

      public javax.transaction.Transaction getTransaction()
      Specified by:
      getTransaction in interface javax.transaction.TransactionManager
    • getStatus

      public int getStatus()
      Specified by:
      getStatus in interface javax.transaction.TransactionManager
    • setTransactionTimeout

      public void setTransactionTimeout(int seconds)
      Specified by:
      setTransactionTimeout in interface javax.transaction.TransactionManager
    • begin

      public void begin()
      Specified by:
      begin in interface javax.transaction.TransactionManager
    • commit

      public void commit()
      Specified by:
      commit in interface javax.transaction.TransactionManager
    • rollback

      public void rollback()
      Specified by:
      rollback in interface javax.transaction.TransactionManager
    • resume

      public void resume(javax.transaction.Transaction transaction)
      Specified by:
      resume in interface javax.transaction.TransactionManager
    • setRollbackOnly

      public void setRollbackOnly()
      Specified by:
      setRollbackOnly in interface javax.transaction.TransactionManager
    • suspend

      public javax.transaction.Transaction suspend()
      Specified by:
      suspend in interface javax.transaction.TransactionManager