public static enum TransactionPolicy.TransactionSynchronization.Status extends java.lang.Enum<TransactionPolicy.TransactionSynchronization.Status>
Enum Constant and Description |
---|
COMMITTED |
ROLLEDBACK |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static TransactionPolicy.TransactionSynchronization.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionPolicy.TransactionSynchronization.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionPolicy.TransactionSynchronization.Status COMMITTED
public static final TransactionPolicy.TransactionSynchronization.Status ROLLEDBACK
public static final TransactionPolicy.TransactionSynchronization.Status UNKNOWN
public static TransactionPolicy.TransactionSynchronization.Status[] values()
for (TransactionPolicy.TransactionSynchronization.Status c : TransactionPolicy.TransactionSynchronization.Status.values()) System.out.println(c);
public static TransactionPolicy.TransactionSynchronization.Status 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 null