EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.transaction.jotm
Class JotmTransactionController

java.lang.Object
  extended by org.eclipse.persistence.transaction.AbstractTransactionController
      extended by org.eclipse.persistence.transaction.JTATransactionController
          extended by org.eclipse.persistence.transaction.jotm.JotmTransactionController
All Implemented Interfaces:
ExternalTransactionController

public class JotmTransactionController
extends JTATransactionController

Purpose: TransactionController implementation for JOTM

Description: Implements the required behavior for controlling JTA transactions in JOTM.

See Also:
JTATransactionController

Field Summary
protected static java.lang.String TX_CURRENT_FACTORY_CLASS
           
protected static java.lang.String TX_CURRENT_FACTORY_METHOD
           
protected static java.lang.String TX_MANAGER_FACTORY_METHOD
           
 
Fields inherited from class org.eclipse.persistence.transaction.JTATransactionController
defaultTransactionManager, transactionManager
 
Fields inherited from class org.eclipse.persistence.transaction.AbstractTransactionController
activeUnitOfWorkThreadLocal, currentlyProcessedListeners, listenerFactory, numSessionsRequiringSequencingCallback, sequencingListeners, session, unitsOfWork
 
Constructor Summary
JotmTransactionController()
           
 
Method Summary
protected  javax.transaction.TransactionManager acquireTransactionManager()
          INTERNAL: Obtain and return the JTA TransactionManager on this platform
 
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, getListenerFactory, getSession, getTransaction, getTransactionKey, getTransactionStatus, getUnitsOfWork, hasActiveUnitOfWork, initializeSequencingListeners, isSequencingCallbackRequired, jndiLookup, logTxStateTrace, logTxTrace, lookupActiveUnitOfWork, lookupActiveUnitOfWork, markTransactionForRollback, noTransactionOrRolledBackOrCommited, numSessionsRequiringSequencingCallback, registerSynchronizationListener, removeSequencingListener, removeUnitOfWork, rollbackTransaction, setListenerFactory, setSession, setUnitsOfWork
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TX_CURRENT_FACTORY_CLASS

protected static final java.lang.String TX_CURRENT_FACTORY_CLASS
See Also:
Constant Field Values

TX_CURRENT_FACTORY_METHOD

protected static final java.lang.String TX_CURRENT_FACTORY_METHOD
See Also:
Constant Field Values

TX_MANAGER_FACTORY_METHOD

protected static final java.lang.String TX_MANAGER_FACTORY_METHOD
See Also:
Constant Field Values
Constructor Detail

JotmTransactionController

public JotmTransactionController()
Method Detail

acquireTransactionManager

protected javax.transaction.TransactionManager acquireTransactionManager()
                                                                  throws java.lang.Exception
INTERNAL: Obtain and return the JTA TransactionManager on this platform

Overrides:
acquireTransactionManager in class JTATransactionController
Returns:
The TransactionManager for the transaction system
Throws:
java.lang.Exception

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference