public enum TransactionScopeOption extends Enum<TransactionScopeOption>
Enum Constant and Description |
---|
Required |
RequiresNew |
Suppress |
Modifier and Type | Method and Description |
---|---|
static TransactionScopeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransactionScopeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransactionScopeOption Suppress
public static final TransactionScopeOption RequiresNew
public static final TransactionScopeOption Required
public static TransactionScopeOption[] values()
for (TransactionScopeOption c : TransactionScopeOption.values()) System.out.println(c);
public static TransactionScopeOption 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. All Rights Reserved.