public enum SourceTransactionalAction extends Enum<SourceTransactionalAction>
Enum Constant and Description |
---|
ALWAYS_BEGIN
Will ensure that a new transaction is created for each invocation
|
NONE
Whether there is a transaction available or not, ignore it
|
Modifier and Type | Method and Description |
---|---|
static SourceTransactionalAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SourceTransactionalAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceTransactionalAction ALWAYS_BEGIN
J2EE RequiresNew
public static final SourceTransactionalAction NONE
J2EE: NotSupported
public static SourceTransactionalAction[] values()
for (SourceTransactionalAction c : SourceTransactionalAction.values()) System.out.println(c);
public static SourceTransactionalAction 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. All rights reserved.