Package org.frankframework.jta
Class ThreadConnectableJtaTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.transaction.jta.JtaTransactionManager
org.frankframework.jta.ThreadConnectableJtaTransactionManager
- All Implemented Interfaces:
Serializable
,IThreadConnectableTransactionManager<Object,
,Object> org.springframework.beans.factory.InitializingBean
,org.springframework.transaction.ConfigurableTransactionManager
,org.springframework.transaction.jta.TransactionFactory
,org.springframework.transaction.PlatformTransactionManager
,org.springframework.transaction.TransactionManager
- Direct Known Subclasses:
AbstractStatusRecordingTransactionManager
public class ThreadConnectableJtaTransactionManager
extends org.springframework.transaction.jta.JtaTransactionManager
implements IThreadConnectableTransactionManager<Object,Object>
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.transaction.support.AbstractPlatformTransactionManager.SuspendedResourcesHolder
-
Field Summary
Fields inherited from class org.springframework.transaction.jta.JtaTransactionManager
DEFAULT_TRANSACTION_SYNCHRONIZATION_REGISTRY_NAME, DEFAULT_USER_TRANSACTION_NAME, FALLBACK_TRANSACTION_MANAGER_NAMES
Fields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
-
Constructor Summary
ConstructorDescriptionThreadConnectableJtaTransactionManager
(jakarta.transaction.TransactionManager transactionManager) ThreadConnectableJtaTransactionManager
(jakarta.transaction.UserTransaction userTransaction, jakarta.transaction.TransactionManager transactionManager) ThreadConnectableJtaTransactionManager
(org.springframework.transaction.jta.JtaTransactionManager transactionManager) -
Method Summary
Modifier and TypeMethodDescriptionvoid
resumeTransaction
(Object transaction, Object resources) org.springframework.transaction.support.AbstractPlatformTransactionManager.SuspendedResourcesHolder
suspendTransaction
(Object transaction) Methods inherited from class org.springframework.transaction.jta.JtaTransactionManager
afterPropertiesSet, 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, useSavepointForNestedTransaction
Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
commit, 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, triggerBeforeCompletion
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.transaction.ConfigurableTransactionManager
addListener
Methods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
-
Constructor Details
-
ThreadConnectableJtaTransactionManager
public ThreadConnectableJtaTransactionManager() -
ThreadConnectableJtaTransactionManager
public ThreadConnectableJtaTransactionManager(org.springframework.transaction.jta.JtaTransactionManager transactionManager) -
ThreadConnectableJtaTransactionManager
public ThreadConnectableJtaTransactionManager(jakarta.transaction.TransactionManager transactionManager) -
ThreadConnectableJtaTransactionManager
public ThreadConnectableJtaTransactionManager(jakarta.transaction.UserTransaction userTransaction, jakarta.transaction.TransactionManager transactionManager)
-
-
Method Details
-
getCurrentTransaction
- Specified by:
getCurrentTransaction
in interfaceIThreadConnectableTransactionManager<Object,
Object> - Throws:
org.springframework.transaction.TransactionException
-
suspendTransaction
public org.springframework.transaction.support.AbstractPlatformTransactionManager.SuspendedResourcesHolder suspendTransaction(Object transaction) - Specified by:
suspendTransaction
in interfaceIThreadConnectableTransactionManager<Object,
Object>
-
resumeTransaction
- Specified by:
resumeTransaction
in interfaceIThreadConnectableTransactionManager<Object,
Object>
-