| Enum Constant and Description | 
|---|
| STATUS_ACTIVEA transaction is associated with the target object and it is in the active state. | 
| STATUS_COMMITTEDA transaction is associated with the target object and it has been committed. | 
| STATUS_COMMITTINGA transaction is associated with the target object and it is in the process of committing. | 
| STATUS_MARKED_ROLLBACKA transaction is associated with the target object and it has been marked for rollback,
 perhaps as a result of a  setRollbackOnlyoperation. | 
| STATUS_NO_TRANSACTIONNo transaction is currently associated with the target object. | 
| STATUS_ROLLEDBACKA transaction is associated with the target object and the outcome has been determined as rollback. | 
| STATUS_ROLLING_BACKA transaction is associated with the target object and it is in the process of rolling back. | 
| STATUS_UNKNOWNA transaction is associated with the target object but its status is unknown. | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.String | toString() | 
| int | value() | 
| static JtxStatus | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static JtxStatus[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final JtxStatus STATUS_ACTIVE
public static final JtxStatus STATUS_MARKED_ROLLBACK
setRollbackOnly operation.public static final JtxStatus STATUS_COMMITTED
public static final JtxStatus STATUS_ROLLEDBACK
public static final JtxStatus STATUS_UNKNOWN
public static final JtxStatus STATUS_NO_TRANSACTION
public static final JtxStatus STATUS_COMMITTING
public static final JtxStatus STATUS_ROLLING_BACK
public static JtxStatus[] values()
for (JtxStatus c : JtxStatus.values()) System.out.println(c);
public static JtxStatus valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int value()
public java.lang.String toString()
toString in class java.lang.Enum<JtxStatus>Copyright © 2003-present Jodd Team