public static enum TransactionSynchronization.Status extends java.lang.Enum<TransactionSynchronization.Status>
Enum Constant and Description |
---|
COMMITTED
Completion status in case of proper commit.
|
ROLLED_BACK
Completion status in case of proper rollback.
|
UNKNOWN
Completion status in case of heuristic mixed completion or system errors.
|
Modifier and Type | Method and Description |
---|---|
static TransactionSynchronization.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionSynchronization.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionSynchronization.Status COMMITTED
public static final TransactionSynchronization.Status ROLLED_BACK
public static final TransactionSynchronization.Status UNKNOWN
public static TransactionSynchronization.Status[] values()
for (TransactionSynchronization.Status c : TransactionSynchronization.Status.values()) System.out.println(c);
public static 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