TxUtils.java has utility methods for determining transaction status
in various useful ways.
author: David Jencks author: Bill Burke author: Dimitris Andreadis version: $Revision: 63567 $
public static String getStatusAsString(int status)(Code)
Converts a tx Status index to a String
See Also: javax.transaction.Status Parameters: status - the Status index status as String or "STATUS_INVALID"
getXAResourceFlagsAsString
public static String getXAResourceFlagsAsString(int flags)(Code)
Converts a XAResource flag to a String
See Also:javax.transaction.xa.XAResource Parameters: flags - the flags passed in to start(), end(), recover() the flags in String form
isActive
public static boolean isActive(Transaction tx)(Code)
isActive
public static boolean isActive(TransactionManager tm)(Code)
isActive
public static boolean isActive(UserTransaction ut)(Code)