public abstract class TransactionHelper extends Object
| Modifier and Type | Method and Description | 
|---|---|
Transaction | 
getTransaction()
Gets the transaction associated with this thread. 
 | 
static TransactionHelper | 
getTransactionHelper()
Get the TransactionHelper singleton. 
 | 
abstract ClientTransactionManager | 
getTransactionManager()
Return an implementation of TransactionManager suitable for use
 in the current client. 
 | 
abstract UserTransaction | 
getUserTransaction()
Return an implementation of UserTransaction suitable for use in
 the current client. 
 | 
static TransactionHelper | 
popTransactionHelper()
Pop the TransactionHelper singleton. 
 | 
static void | 
pushTransactionHelper(TransactionHelper helper)
Push the TransactionHelper singleton. 
 | 
static void | 
setTransactionHelper(TransactionHelper helper)
Set the TransactionHelper singleton. 
 | 
public static TransactionHelper getTransactionHelper()
public static void setTransactionHelper(TransactionHelper helper)
helper - - a suitable TransactionHelper implementation for
 client or server.public static void pushTransactionHelper(TransactionHelper helper)
helper - - a suitable TransactionHelper implementation for
 client or server.public static TransactionHelper popTransactionHelper() throws EmptyStackException
EmptyStackExceptionpublic abstract UserTransaction getUserTransaction()
UserTransactionpublic abstract ClientTransactionManager getTransactionManager()
TransactionManagerpublic Transaction getTransaction()
TransactionManager.getTransaction()