Class TransactionManagerImple

java.lang.Object
com.arjuna.ats.internal.jta.transaction.arjunacore.BaseTransaction
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionManagerImple
All Implemented Interfaces:
jakarta.transaction.TransactionManager, ObjectFactory

public class TransactionManagerImple extends BaseTransaction implements jakarta.transaction.TransactionManager, ObjectFactory
  • Constructor Details

    • TransactionManagerImple

      public TransactionManagerImple()
  • Method Details

    • getTransaction

      public jakarta.transaction.Transaction getTransaction() throws jakarta.transaction.SystemException
      Specified by:
      getTransaction in interface jakarta.transaction.TransactionManager
      Throws:
      jakarta.transaction.SystemException
    • suspend

      public jakarta.transaction.Transaction suspend() throws jakarta.transaction.SystemException
      Specified by:
      suspend in interface jakarta.transaction.TransactionManager
      Returns:
      the suspended transaction.
      Throws:
      jakarta.transaction.SystemException
    • resume

      public void resume(jakarta.transaction.Transaction which) throws jakarta.transaction.InvalidTransactionException, IllegalStateException, jakarta.transaction.SystemException
      Unlike the OTS, if we are already associated with a transaction then we cannot call resume.
      Specified by:
      resume in interface jakarta.transaction.TransactionManager
      Throws:
      jakarta.transaction.InvalidTransactionException
      IllegalStateException
      jakarta.transaction.SystemException
    • getObjectInstance

      public Object getObjectInstance(Object obj, Name name, Context nameCtx, Hashtable environment) throws Exception
      Creates a TransactionManageImple from the given information.
      Specified by:
      getObjectInstance in interface ObjectFactory
      Parameters:
      obj -
      name -
      nameCtx -
      environment -
      Returns:
      the instance of the transaction manager
      Throws:
      Exception