Class UserTransaction

java.lang.Object
com.arjuna.ats.jta.UserTransaction

public class UserTransaction extends Object
  • Constructor Details

    • UserTransaction

      public UserTransaction()
  • Method Details

    • userTransaction

      public static jakarta.transaction.UserTransaction userTransaction(InitialContext ctx)
      Retrieve a reference to the user transaction.
      Returns:
      The user transaction bound to the appropriate JNDI context
    • userTransaction

      public static jakarta.transaction.UserTransaction userTransaction()
      Retrieve the singleton UserTransaction reference.
      Returns:
      The singleton UserTransaction reference. Can return null if the instantiation failed.