ejb3/src/main/java/org/jboss/as/ejb3/tx/util/StatusHelper.java
public static String statusAsString(int status) {
        if (status >= Status.STATUS_ACTIVE && status <= Status.STATUS_ROLLING_BACK) {
            return TxStatusStrings[status];
        } else {
            return "STATUS_INVALID(" + status + ")";
        }
    }
public static String statusAsString(int status) {
        if (status >= Status.STATUS_ACTIVE && status <= Status.STATUS_ROLLING_BACK) {
            return TxStatusStrings[status];
        } else {
            return "STATUS_INVALID(" + status + ")";
        }
    }
Converts a tx Status index to a String

@param status the Status index
@return status as String or "STATUS_INVALID(value)"
@see javax.transaction.Status