Class JotmTransactionController
java.lang.Object
org.eclipse.persistence.transaction.AbstractTransactionController
org.eclipse.persistence.transaction.JTATransactionController
org.eclipse.persistence.transaction.jotm.JotmTransactionController
- All Implemented Interfaces:
ExternalTransactionController
Purpose: TransactionController implementation for JOTM
Description: Implements the required behavior for controlling JTA transactions in JOTM.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final String
protected static final String
protected static final String
Fields inherited from class org.eclipse.persistence.transaction.JTATransactionController
defaultTransactionManager, transactionManager
Fields inherited from class org.eclipse.persistence.transaction.AbstractTransactionController
activeUnitOfWorkThreadLocal, currentlyProcessedListeners, exceptionHandler, listenerFactory, numSessionsRequiringSequencingCallback, sequencingListeners, session, unitsOfWork
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.transaction.TransactionManager
INTERNAL: Obtain and return the JTA TransactionManager on this platformMethods inherited from class org.eclipse.persistence.transaction.JTATransactionController
beginTransaction_impl, canBeginTransaction_impl, canCommitTransaction_impl, canIssueSQLToDatabase_impl, canMergeUnitOfWork_impl, canRollbackTransaction_impl, commitTransaction_impl, getDefaultTransactionManager, getIntStatus, getTransaction_impl, getTransactionKey_impl, getTransactionManager, getTransactionStatus_impl, isRolledBack_impl, markTransactionForRollback_impl, registerSynchronization_impl, rollbackTransaction_impl, setDefaultTransactionManager, setTransactionManager, statusToString_impl
Methods inherited from class org.eclipse.persistence.transaction.AbstractTransactionController
addUnitOfWork, beginTransaction, bindToCurrentTransaction, clearSequencingListeners, commitTransaction, getActiveSequencingCallback, getActiveUnitOfWork, getExceptionHandler, getListenerFactory, getSession, getTransaction, getTransactionKey, getTransactionStatus, getUnitsOfWork, hasActiveUnitOfWork, initializeSequencingListeners, isSequencingCallbackRequired, jndiLookup, logTxStateTrace, logTxTrace, lookupActiveUnitOfWork, lookupActiveUnitOfWork, markTransactionForRollback, noTransactionOrRolledBackOrCommited, numSessionsRequiringSequencingCallback, registerSynchronizationListener, removeSequencingListener, removeUnitOfWork, rollbackTransaction, setExceptionHandler, setListenerFactory, setSession, setUnitsOfWork
-
Field Details
-
TX_CURRENT_FACTORY_CLASS
- See Also:
-
TX_CURRENT_FACTORY_METHOD
- See Also:
-
TX_MANAGER_FACTORY_METHOD
- See Also:
-
-
Constructor Details
-
JotmTransactionController
public JotmTransactionController()
-
-
Method Details
-
acquireTransactionManager
INTERNAL: Obtain and return the JTA TransactionManager on this platform- Overrides:
acquireTransactionManager
in classJTATransactionController
- Returns:
- The TransactionManager for the transaction system
- Throws:
Exception
-