Package com.arjuna.ats.jta
Class UserTransaction
java.lang.Object
com.arjuna.ats.jta.UserTransaction
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic jakarta.transaction.UserTransaction
Retrieve the singleton UserTransaction reference.static jakarta.transaction.UserTransaction
Retrieve a reference to the user transaction.
-
Constructor Details
-
UserTransaction
public UserTransaction()
-
-
Method Details
-
userTransaction
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.
-