public enum TransactionSupport extends java.lang.Enum<TransactionSupport>
Enum Constant and Description |
---|
LocalTransaction
LocalTransaction
|
NotDefined
not defined
|
NoTransaction
NoTransaction
|
XATransaction
XATransaction
|
Modifier and Type | Method and Description |
---|---|
static TransactionSupport |
fromValue(java.lang.String v)
fromValue
|
java.lang.String |
value()
get value
|
static TransactionSupport |
valueOf(java.lang.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 NoTransaction
public static final TransactionSupport LocalTransaction
public static final TransactionSupport XATransaction
public static final TransactionSupport NotDefined
public static TransactionSupport[] values()
for (TransactionSupport c : TransactionSupport.values()) System.out.println(c);
public static TransactionSupport 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 java.lang.String value()
public static TransactionSupport fromValue(java.lang.String v)
v
- StringCopyright © 2014 IronJacamar (http://www.ironjacamar.org)