Class TransactionManagerImple

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

public class TransactionManagerImple extends BaseTransaction implements jakarta.transaction.TransactionManager, ObjectFactory
An implementation of jakarta.transaction.TransactionManager.
Since:
JTS 1.2.4.
Version:
$Id: TransactionManagerImple.java 2342 2006-03-30 13:06:17Z $
Author:
Mark Little (mark_little@hp.com)
  • 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:
      Object
      Throws:
      Exception