Package org.frankframework.jta.narayana
Class NarayanaJtaTransactionManager
java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.transaction.jta.JtaTransactionManager
org.frankframework.jta.ThreadConnectableJtaTransactionManager
org.frankframework.jta.AbstractStatusRecordingTransactionManager
org.frankframework.jta.narayana.NarayanaJtaTransactionManager
- All Implemented Interfaces:
Serializable,IThreadConnectableTransactionManager,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean,org.springframework.transaction.ConfigurableTransactionManager,org.springframework.transaction.jta.TransactionFactory,org.springframework.transaction.PlatformTransactionManager,org.springframework.transaction.TransactionManager
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.frankframework.jta.AbstractStatusRecordingTransactionManager
AbstractStatusRecordingTransactionManager.StatusNested classes/interfaces inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.transaction.support.AbstractPlatformTransactionManager.SuspendedResourcesHolder -
Field Summary
Fields inherited from class org.frankframework.jta.AbstractStatusRecordingTransactionManager
logFields inherited from class org.springframework.transaction.jta.JtaTransactionManager
DEFAULT_TRANSACTION_SYNCHRONIZATION_REGISTRY_NAME, DEFAULT_USER_TRANSACTION_NAME, FALLBACK_TRANSACTION_MANAGER_NAMESFields inherited from class org.springframework.transaction.support.AbstractPlatformTransactionManager
logger, SYNCHRONIZATION_ALWAYS, SYNCHRONIZATION_NEVER, SYNCHRONIZATION_ON_ACTUAL_TRANSACTION -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected jakarta.transaction.TransactionManagervoidregisterXAResourceRecoveryHelper(com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper xaResourceRecoveryHelper) protected jakarta.transaction.UserTransactionprotected booleanShutdown the transaction manager, attempting to complete all running transactions.Methods inherited from class org.frankframework.jta.AbstractStatusRecordingTransactionManager
destroy, determineTmUid, read, retrieveTransactionManager, setUid, write, writeStatusMethods inherited from class org.frankframework.jta.ThreadConnectableJtaTransactionManager
getCurrentTransaction, resumeTransaction, suspendTransactionMethods 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, retrieveTransactionSynchronizationRegistry, setAllowCustomIsolationLevels, setAutodetectTransactionManager, setAutodetectTransactionSynchronizationRegistry, setAutodetectUserTransaction, setCacheUserTransaction, setJndiEnvironment, setJndiTemplate, setTransactionManager, setTransactionManagerName, setTransactionSynchronizationRegistry, setTransactionSynchronizationRegistryName, setUserTransaction, setUserTransactionName, shouldCommitOnGlobalRollbackOnly, supportsResourceAdapterManagedTransactions, useSavepointForNestedTransactionMethods 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, triggerBeforeCompletionMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.transaction.ConfigurableTransactionManager
addListenerMethods inherited from interface org.springframework.transaction.PlatformTransactionManager
commit, getTransaction, rollback
-
Constructor Details
-
NarayanaJtaTransactionManager
public NarayanaJtaTransactionManager()
-
-
Method Details
-
retrieveUserTransaction
protected jakarta.transaction.UserTransaction retrieveUserTransaction() throws org.springframework.transaction.TransactionSystemException- Overrides:
retrieveUserTransactionin classorg.springframework.transaction.jta.JtaTransactionManager- Throws:
org.springframework.transaction.TransactionSystemException
-
createTransactionManager
protected jakarta.transaction.TransactionManager createTransactionManager() throws org.springframework.transaction.TransactionSystemException- Specified by:
createTransactionManagerin classAbstractStatusRecordingTransactionManager- Throws:
org.springframework.transaction.TransactionSystemException
-
getRecoveryNodes
-
shutdownTransactionManager
protected boolean shutdownTransactionManager()Description copied from class:AbstractStatusRecordingTransactionManagerShutdown the transaction manager, attempting to complete all running transactions.- Specified by:
shutdownTransactionManagerin classAbstractStatusRecordingTransactionManager- Returns:
- true if a successful shutdown took place, or false if any transactions are pending that need to be recovered later.
-
registerXAResourceRecoveryHelper
public void registerXAResourceRecoveryHelper(com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper xaResourceRecoveryHelper)
-