Package io.jmix.data.impl
Class JmixJtaTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.transaction.jta.JtaTransactionManager
io.jmix.data.impl.JmixJtaTransactionManager
- All Implemented Interfaces:
- Serializable,- org.springframework.beans.factory.Aware,- org.springframework.beans.factory.InitializingBean,- org.springframework.context.ApplicationContextAware,- org.springframework.transaction.ConfigurableTransactionManager,- org.springframework.transaction.jta.TransactionFactory,- org.springframework.transaction.PlatformTransactionManager,- org.springframework.transaction.TransactionManager
- Direct Known Subclasses:
- JmixEclipselinkJtaTransactionManager
public class JmixJtaTransactionManager
extends org.springframework.transaction.jta.JtaTransactionManager
implements org.springframework.context.ApplicationContextAware
- See Also:
- 
Nested Class SummaryNested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManagerorg.springframework.transaction.support.AbstractPlatformTransactionManager.SuspendedResourcesHolder
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprotected org.springframework.context.ApplicationContextprotected StringFields inherited from class org.springframework.transaction.jta.JtaTransactionManagerDEFAULT_TRANSACTION_SYNCHRONIZATION_REGISTRY_NAME, DEFAULT_USER_TRANSACTION_NAME, FALLBACK_TRANSACTION_MANAGER_NAMESFields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManagerlogger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
- 
Constructor SummaryConstructorsConstructorDescriptionJmixJtaTransactionManager(String key, jakarta.transaction.UserTransaction userTransaction, jakarta.transaction.TransactionManager transactionManager) 
- 
Method SummaryModifier and TypeMethodDescriptiongetKey()voidsetApplicationContext(org.springframework.context.ApplicationContext applicationContext) Methods inherited from class org.springframework.transaction.jta.JtaTransactionManagerafterPropertiesSet, applyIsolationLevel, applyTimeout, buildUserTransaction, checkUserTransactionAndTransactionManager, createTransaction, doBegin, doCleanupAfterCompletion, doCommit, doGetJtaTransaction, doGetTransaction, doJtaBegin, doJtaResume, doJtaSuspend, doRegisterAfterCompletionWithJtaTransaction, doResume, doRollback, doSetRollbackOnly, doSuspend, findTransactionManager, findTransactionSynchronizationRegistry, findUserTransaction, getJndiEnvironment, getJndiTemplate, getTransactionManager, getTransactionSynchronizationRegistry, getUserTransaction, initTransactionSynchronizationRegistry, initUserTransactionAndTransactionManager, isExistingTransaction, lookupTransactionManager, lookupTransactionSynchronizationRegistry, lookupUserTransaction, registerAfterCompletionWithExistingTransaction, retrieveTransactionManager, retrieveTransactionSynchronizationRegistry, retrieveUserTransaction, setAllowCustomIsolationLevels, setAutodetectTransactionManager, setAutodetectTransactionSynchronizationRegistry, setAutodetectUserTransaction, setCacheUserTransaction, setJndiEnvironment, setJndiTemplate, setTransactionManager, setTransactionManagerName, setTransactionSynchronizationRegistry, setTransactionSynchronizationRegistryName, setUserTransaction, setUserTransactionName, shouldCommitOnGlobalRollbackOnly, supportsResourceAdapterManagedTransactions, useSavepointForNestedTransactionMethods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManagercommit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionExecutionListeners, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, prepareForCommit, prepareSynchronization, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionExecutionListeners, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, suspend, triggerBeforeCommit, triggerBeforeCompletionMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.ConfigurableTransactionManageraddListener
- 
Field Details- 
applicationContextprotected org.springframework.context.ApplicationContext applicationContext
- 
key
 
- 
- 
Constructor Details- 
JmixJtaTransactionManagerpublic JmixJtaTransactionManager(String key, jakarta.transaction.UserTransaction userTransaction, jakarta.transaction.TransactionManager transactionManager) 
 
- 
- 
Method Details- 
getKey
- 
setApplicationContextpublic void setApplicationContext(org.springframework.context.ApplicationContext applicationContext) throws org.springframework.beans.BeansException - Specified by:
- setApplicationContextin interface- org.springframework.context.ApplicationContextAware
- Throws:
- org.springframework.beans.BeansException
 
 
-