Class JmixJtaTransactionController

java.lang.Object
org.eclipse.persistence.transaction.AbstractTransactionController
org.eclipse.persistence.transaction.JTATransactionController
io.jmix.data.impl.jta.JmixJtaTransactionController
All Implemented Interfaces:
org.eclipse.persistence.sessions.ExternalTransactionController, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class JmixJtaTransactionController extends org.eclipse.persistence.transaction.JTATransactionController implements org.springframework.context.ApplicationContextAware
  • 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
     
    JmixJtaTransactionController(jakarta.transaction.TransactionManager transactionManager)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected jakarta.transaction.TransactionManager
     
    void
    setApplicationContext(org.springframework.context.ApplicationContext applicationContext)
     
    protected static void
    setApplicationContextInternal(org.springframework.context.ApplicationContext applicationContext)
     

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JmixJtaTransactionController

      public JmixJtaTransactionController()
    • JmixJtaTransactionController

      public JmixJtaTransactionController(jakarta.transaction.TransactionManager transactionManager)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • acquireTransactionManager

      protected jakarta.transaction.TransactionManager acquireTransactionManager() throws Exception
      Overrides:
      acquireTransactionManager in class org.eclipse.persistence.transaction.JTATransactionController
      Throws:
      Exception
    • setApplicationContextInternal

      protected static void setApplicationContextInternal(org.springframework.context.ApplicationContext applicationContext)