public class EmbeddedBaseTransactionManager extends TransactionManagerImpl
TransactionManager implementation.
It provides the basic to handle Transactions and supports any XAResource.
Implementation notes:
TransactionManagerImpl.commit() or TransactionManagerImpl.rollback()TransactionManagerImpl.setTransactionTimeout(int) and this transaction manager won't rollback the transaction if it takes too long.If you need any of the requirements above, please consider use another implementation.
Also, it does not implement any 1-phase-commit optimization.
transactionManagerId| Constructor and Description |
|---|
EmbeddedBaseTransactionManager() |
| Modifier and Type | Method and Description |
|---|---|
protected EmbeddedTransaction |
createTransaction() |
EmbeddedTransaction |
getTransaction()
Get the transaction object that represents the transaction
context of the calling thread.
|
begin, commit, dissociateTransaction, getStatus, resume, rollback, setRollbackOnly, setTransactionTimeout, suspendprotected EmbeddedTransaction createTransaction()
createTransaction in class TransactionManagerImplpublic EmbeddedTransaction getTransaction()
TransactionManagergetTransaction in interface TransactionManagergetTransaction in class TransactionManagerImplTransaction object representing the
transaction associated with the calling thread.Copyright © 2021 JBoss by Red Hat. All rights reserved.