Package org.nuxeo.runtime.datasource
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 interfacejavax.transaction.TransactionManager
-
getStatus
public int getStatus()- Specified by:
getStatus
in interfacejavax.transaction.TransactionManager
-
setTransactionTimeout
public void setTransactionTimeout(int seconds) - Specified by:
setTransactionTimeout
in interfacejavax.transaction.TransactionManager
-
begin
public void begin()- Specified by:
begin
in interfacejavax.transaction.TransactionManager
-
commit
public void commit()- Specified by:
commit
in interfacejavax.transaction.TransactionManager
-
rollback
public void rollback()- Specified by:
rollback
in interfacejavax.transaction.TransactionManager
-
resume
public void resume(javax.transaction.Transaction transaction) - Specified by:
resume
in interfacejavax.transaction.TransactionManager
-
setRollbackOnly
public void setRollbackOnly()- Specified by:
setRollbackOnly
in interfacejavax.transaction.TransactionManager
-
suspend
public javax.transaction.Transaction suspend()- Specified by:
suspend
in interfacejavax.transaction.TransactionManager
-