public enum TransactionSupportEnum extends Enum<TransactionSupportEnum>
Enum Constant and Description |
---|
LocalTransaction
LocalTransaction
|
NoTransaction
NoTransaction
|
XATransaction
XATransaction
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static TransactionSupportEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionSupportEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionSupportEnum NoTransaction
public static final TransactionSupportEnum LocalTransaction
public static final TransactionSupportEnum XATransaction
public static TransactionSupportEnum[] values()
for (TransactionSupportEnum c : TransactionSupportEnum.values()) System.out.println(c);
public static TransactionSupportEnum 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 nullpublic String toString()
toString
in class Enum<TransactionSupportEnum>
Copyright © 2021 JBoss by Red Hat. All rights reserved.