public enum TransactionMode extends java.lang.Enum<TransactionMode>
| Enum Constant and Description |
|---|
FULL_XA |
NON_DURABLE_XA |
NON_XA |
NONE |
| Modifier and Type | Method and Description |
|---|---|
TransactionMode |
getMode() |
boolean |
isRecoveryEnabled() |
boolean |
isXAEnabled() |
static TransactionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransactionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionMode NONE
public static final TransactionMode NON_XA
public static final TransactionMode NON_DURABLE_XA
public static final TransactionMode FULL_XA
public static TransactionMode[] values()
for (TransactionMode c : TransactionMode.values()) System.out.println(c);
public static TransactionMode 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 TransactionMode getMode()
public boolean isXAEnabled()
public boolean isRecoveryEnabled()