Class NarayanaJtaTransactionManager

java.lang.Object
org.springframework.transaction.support.AbstractPlatformTransactionManager
org.springframework.transaction.jta.JtaTransactionManager
All Implemented Interfaces:
Serializable, IThreadConnectableTransactionManager<Object,Object>, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean, org.springframework.transaction.jta.TransactionFactory, org.springframework.transaction.PlatformTransactionManager, org.springframework.transaction.TransactionManager

public class NarayanaJtaTransactionManager extends StatusRecordingTransactionManager
See Also:
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.frankframework.jta.StatusRecordingTransactionManager

    StatusRecordingTransactionManager.Status

    Nested 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.StatusRecordingTransactionManager

    log

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javax.transaction.TransactionManager
     
    com.arjuna.ats.arjuna.recovery.RecoveryManager
     
    void
    registerXAResourceRecoveryHelper(com.arjuna.ats.jta.recovery.XAResourceRecoveryHelper xaResourceRecoveryHelper)
     
    protected javax.transaction.UserTransaction
     
    protected boolean
    Shutdown the transaction manager, attempting to complete all running transactions.

    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, retrieveTransactionSynchronizationRegistry, 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, getTransactionSynchronization, invokeAfterCompletion, isFailEarlyOnGlobalRollbackOnly, isGlobalRollbackOnParticipationFailure, isNestedTransactionAllowed, isRollbackOnCommitFailure, isValidateExistingTransaction, newTransactionStatus, prepareForCommit, prepareSynchronization, prepareTransactionStatus, resume, rollback, setDefaultTimeout, setFailEarlyOnGlobalRollbackOnly, setGlobalRollbackOnParticipationFailure, setNestedTransactionAllowed, setRollbackOnCommitFailure, 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.PlatformTransactionManager

    commit, getTransaction, rollback
  • Constructor Details

    • NarayanaJtaTransactionManager

      public NarayanaJtaTransactionManager()
  • Method Details

    • retrieveUserTransaction

      protected javax.transaction.UserTransaction retrieveUserTransaction() throws org.springframework.transaction.TransactionSystemException
      Overrides:
      retrieveUserTransaction in class org.springframework.transaction.jta.JtaTransactionManager
      Throws:
      org.springframework.transaction.TransactionSystemException
    • createTransactionManager

      protected javax.transaction.TransactionManager createTransactionManager() throws org.springframework.transaction.TransactionSystemException
      Specified by:
      createTransactionManager in class StatusRecordingTransactionManager
      Throws:
      org.springframework.transaction.TransactionSystemException
    • shutdownTransactionManager

      protected boolean shutdownTransactionManager()
      Description copied from class: StatusRecordingTransactionManager
      Shutdown the transaction manager, attempting to complete all running transactions.
      Specified by:
      shutdownTransactionManager in class StatusRecordingTransactionManager
      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)
    • getRecoveryManager

      public com.arjuna.ats.arjuna.recovery.RecoveryManager getRecoveryManager()