|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.jca.core.spi.transaction.TxUtils
public class TxUtils

Helper methods for transaction status and textual representation
| Method Summary | |
|---|---|
static String |
getStatusAsString(int status)
Converts a transaction status to a text representation |
static boolean |
isActive(Transaction tx)
Is the transaction active |
static boolean |
isCompleted(Transaction tx)
Is the transaction completed |
static boolean |
isUncommitted(Transaction tx)
Is the transaction uncommitted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static boolean isActive(Transaction tx)
tx - The transaction
public static boolean isUncommitted(Transaction tx)
tx - The transaction
public static boolean isCompleted(Transaction tx)
tx - The transaction
public static String getStatusAsString(int status)
status - The status index
Status
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||