public enum TransactionScope extends Enum<TransactionScope>
Enum Constant and Description |
---|
MANDATORY |
NEVER |
NOT_SUPPORTED |
REQUIRED |
REQUIRES_NEW |
SUPPORTS |
Modifier and Type | Method and Description |
---|---|
static TransactionScope |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionScope MANDATORY
public static final TransactionScope REQUIRED
public static final TransactionScope REQUIRES_NEW
public static final TransactionScope SUPPORTS
public static final TransactionScope NOT_SUPPORTED
public static final TransactionScope NEVER
public static TransactionScope[] values()
for (TransactionScope c : TransactionScope.values()) System.out.println(c);
public static TransactionScope 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 © 2012–2020 jkniv, copyleft code. All rights reserved.