Package org.frankframework.jta
Class ThreadConnectableDataSourceTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.jdbc.datasource.DataSourceTransactionManager
org.frankframework.jta.ThreadConnectableDataSourceTransactionManager
- All Implemented Interfaces:
Serializable
,IThreadConnectableTransactionManager<Object,
,Object> org.springframework.beans.factory.InitializingBean
,org.springframework.transaction.ConfigurableTransactionManager
,org.springframework.transaction.PlatformTransactionManager
,org.springframework.transaction.support.ResourceTransactionManager
,org.springframework.transaction.TransactionManager
public class ThreadConnectableDataSourceTransactionManager
extends org.springframework.jdbc.datasource.DataSourceTransactionManager
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.support.AbstractPlatformTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION
-
Constructor Summary
ConstructorDescription -
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.jdbc.datasource.DataSourceTransactionManager
afterPropertiesSet, doBegin, doCleanupAfterCompletion, doCommit, doGetTransaction, doResume, doRollback, doSetRollbackOnly, doSuspend, getDataSource, getResourceFactory, isEnforceReadOnly, isExistingTransaction, obtainDataSource, prepareTransactionalConnection, setDataSource, setEnforceReadOnly, translateException
Methods inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
commit, determineTimeout, getDefaultTimeout, getTransaction, getTransactionExecutionListeners, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, prepareForCommit, prepareSynchronization, registerAfterCompletionWithExistingTransaction, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, setTransactionExecutionListeners, setTransactionSynchronization, setTransactionSynchronizationName, setValidateExistingTransaction, shouldCommitOnGlobalRollbackOnly, suspend, triggerBeforeCommit, triggerBeforeCompletion, useSavepointForNestedTransaction
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
-
ThreadConnectableDataSourceTransactionManager
public ThreadConnectableDataSourceTransactionManager() -
ThreadConnectableDataSourceTransactionManager
-
-
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>
-