public static enum TransactionSupport.TransactionSupportLevel extends Enum<TransactionSupport.TransactionSupportLevel>
Enum Constant and Description |
---|
LocalTransaction
The resource adapter supports resource manager local transactions
by implementing the
LocalTransaction interface. |
NoTransaction
The resource adapter supports neither resource manager nor JTA
transactions.
|
XATransaction
The resource adapter supports both resource manager local
and JTA transactions by implementing the
LocalTransaction
and XAResource interfaces. |
Modifier and Type | Method and Description |
---|---|
static TransactionSupport.TransactionSupportLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionSupport.TransactionSupportLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionSupport.TransactionSupportLevel NoTransaction
public static final TransactionSupport.TransactionSupportLevel LocalTransaction
LocalTransaction
interface.public static final TransactionSupport.TransactionSupportLevel XATransaction
LocalTransaction
and XAResource
interfaces.public static TransactionSupport.TransactionSupportLevel[] values()
for (TransactionSupport.TransactionSupportLevel c : TransactionSupport.TransactionSupportLevel.values()) System.out.println(c);
public static TransactionSupport.TransactionSupportLevel 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 © 2018 JBoss by Red Hat. All rights reserved.