Package io.jmix.data.impl.jta
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
ConstructorDescriptionJmixJtaTransactionController
(jakarta.transaction.TransactionManager transactionManager) -
Method Summary
Modifier and TypeMethodDescriptionprotected 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
-
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 interfaceorg.springframework.context.ApplicationContextAware
- Throws:
org.springframework.beans.BeansException
-
acquireTransactionManager
- Overrides:
acquireTransactionManager
in classorg.eclipse.persistence.transaction.JTATransactionController
- Throws:
Exception
-
setApplicationContextInternal
protected static void setApplicationContextInternal(org.springframework.context.ApplicationContext applicationContext)
-