public class TransactionService
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
| javax.transaction.UserTransaction | begin()
This method begins the transaction and returns the user transaction associated with the transaction.
|
| javax.transaction.UserTransaction | begin(int timeOut)
This method begins the transaction and return the user transaction associated with the transaction.
|
| static TransactionService | getInstance()
This method returns the transaction service instance associated with the application.
|
public static TransactionService getInstance()
public javax.transaction.UserTransaction begin()
throws javax.transaction.NotSupportedException,
javax.transaction.SystemException
public javax.transaction.UserTransaction begin(int timeOut)
throws javax.transaction.NotSupportedException,
javax.transaction.SystemException