Class WebSphereTransactionController
- java.lang.Object
-
- org.eclipse.persistence.transaction.AbstractTransactionController
-
- org.eclipse.persistence.transaction.JTATransactionController
-
- org.eclipse.persistence.transaction.was.WebSphereTransactionController
-
- All Implemented Interfaces:
ExternalTransactionController
- Direct Known Subclasses:
WebSphereEJBEmbeddableTransactionController
,WebSphereLibertyTransactionController
public class WebSphereTransactionController extends JTATransactionController
Purpose: TransactionController implementation for WebSphere
Description: Implements the required behavior for controlling transactions in WebSphere
- See Also:
JTATransactionController
-
-
Field Summary
-
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 WebSphereTransactionController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected javax.transaction.TransactionManager
acquireTransactionManager()
INTERNAL: Obtain and return the JTA TransactionManager on this platform.protected java.lang.String
getTxManagerFactoryClass()
protected java.lang.String
getTxManagerFactoryMethod()
-
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, 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
-
-
-
-
Method Detail
-
getTxManagerFactoryClass
protected java.lang.String getTxManagerFactoryClass()
-
getTxManagerFactoryMethod
protected java.lang.String getTxManagerFactoryMethod()
-
acquireTransactionManager
protected javax.transaction.TransactionManager acquireTransactionManager() throws java.lang.Exception
INTERNAL: Obtain and return the JTA TransactionManager on this platform. This will be called once when the controller is initialized.- Overrides:
acquireTransactionManager
in classJTATransactionController
- Returns:
- The TransactionManager for the transaction system
- Throws:
java.lang.Exception
-
-