public class GlassfishTransactionController extends JTATransactionController
Purpose: TransactionController implementation for Glassfish JTA
Description: Implements the required behavior for controlling JTA transactions in Glassfish. The JTA TransactionManager must be set on the instance.
JTATransactionController
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
JNDI_TRANSACTION_MANAGER_NAME |
defaultTransactionManager, transactionManager
activeUnitOfWorkThreadLocal, currentlyProcessedListeners, exceptionHandler, listenerFactory, numSessionsRequiringSequencingCallback, sequencingListeners, session, unitsOfWork
Constructor and Description |
---|
GlassfishTransactionController() |
Modifier and Type | Method and Description |
---|---|
protected javax.transaction.TransactionManager |
acquireTransactionManager()
INTERNAL:
Obtain and return the JTA TransactionManager on this platform
|
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
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
public static final java.lang.String JNDI_TRANSACTION_MANAGER_NAME
protected javax.transaction.TransactionManager acquireTransactionManager() throws java.lang.Exception
acquireTransactionManager
in class JTATransactionController
java.lang.Exception