Class WebLogicTransactionController11
- java.lang.Object
-
- org.eclipse.persistence.transaction.AbstractTransactionController
-
- org.eclipse.persistence.transaction.JTATransactionController
-
- org.eclipse.persistence.transaction.JTA11TransactionController
-
- org.eclipse.persistence.transaction.wls.WebLogicTransactionController11
-
- All Implemented Interfaces:
ExternalTransactionController
public class WebLogicTransactionController11 extends JTA11TransactionController
Purpose: TransactionController implementation for WLS JTA
Description: Implements the required behavior for controlling JTA 1.0 transactions in WLS. The JTA TransactionManager must be set on the instance.
- See Also:
JTATransactionController
-
-
Field Summary
Fields Modifier and Type Field Description static String
JNDI_TRANSACTION_SYNCHRONIZATION_REGISTRY
WLS specific JNDI name ofTransactionSynchronizationRegistry
instance.-
Fields inherited from class org.eclipse.persistence.transaction.JTA11TransactionController
defaultTsr, tsr
-
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
Constructors Constructor Description WebLogicTransactionController11()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected jakarta.transaction.TransactionManager
acquireTransactionManager()
INTERNAL: Obtain and return the JTA TransactionManager on this platformprotected jakarta.transaction.TransactionSynchronizationRegistry
acquireTransactionSynchronizationRegistry()
INTERNAL: Obtain and return the JTA 1.1TransactionSynchronizationRegistry
on this platform.-
Methods inherited from class org.eclipse.persistence.transaction.JTA11TransactionController
getDefaultTransactionSynchronizationRegistry, getTransactionKey_impl, getTransactionStatus_impl, getTransactionSynchronizationRegistry, isRolledBack_impl, markTransactionForRollback_impl, registerSynchronization_impl, setDefaultTransactionSynchronizationRegistry, setTransactionManager
-
Methods 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, getTransactionManager, 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 Detail
-
JNDI_TRANSACTION_SYNCHRONIZATION_REGISTRY
public static final String JNDI_TRANSACTION_SYNCHRONIZATION_REGISTRY
WLS specific JNDI name ofTransactionSynchronizationRegistry
instance.- See Also:
- Constant Field Values
-
-
Method Detail
-
acquireTransactionManager
protected jakarta.transaction.TransactionManager acquireTransactionManager() throws Exception
INTERNAL: Obtain and return the JTA TransactionManager on this platform- Overrides:
acquireTransactionManager
in classJTATransactionController
- Returns:
- The TransactionManager for the transaction system
- Throws:
Exception
-
acquireTransactionSynchronizationRegistry
protected jakarta.transaction.TransactionSynchronizationRegistry acquireTransactionSynchronizationRegistry() throws TransactionException
INTERNAL: Obtain and return the JTA 1.1TransactionSynchronizationRegistry
on this platform.- Overrides:
acquireTransactionSynchronizationRegistry
in classJTA11TransactionController
- Returns:
- the
TransactionSynchronizationRegistry
for the transaction system - Throws:
TransactionException
- Since:
- 2.7.1
-
-