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 Summary
Constructors Constructor Description TransactionManagerWithoutTransaction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
begin()
void
commit()
int
getStatus()
javax.transaction.Transaction
getTransaction()
void
resume(javax.transaction.Transaction transaction)
void
rollback()
void
setRollbackOnly()
void
setTransactionTimeout(int seconds)
javax.transaction.Transaction
suspend()
-
-
-
Constructor Detail
-
TransactionManagerWithoutTransaction
public TransactionManagerWithoutTransaction()
-
-
Method Detail
-
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
-
-