public enum TransactionSupport extends Enum<TransactionSupport>
| Enum Constant and Description |
|---|
LOCAL_TRANSACTION |
NO_TRANSACTION |
XA_TRANSACTION |
| Modifier and Type | Method and Description |
|---|---|
static TransactionSupport |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionSupport[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionSupport NO_TRANSACTION
public static final TransactionSupport LOCAL_TRANSACTION
public static final TransactionSupport XA_TRANSACTION
public static TransactionSupport[] values()
for (TransactionSupport c : TransactionSupport.values()) System.out.println(c);
public static TransactionSupport valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullCopyright © 2015. All rights reserved.