public enum OperationTransactionalAction extends Enum<OperationTransactionalAction>
Enum Constant and Description |
---|
ALWAYS_JOIN
There must always be a transaction present for the invocation
|
JOIN_IF_POSSIBLE
If there is a transaction available, then use it, otherwise continue processing
|
NOT_SUPPORTED
Executes outside any existent transaction
|
Modifier and Type | Method and Description |
---|---|
static OperationTransactionalAction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OperationTransactionalAction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OperationTransactionalAction ALWAYS_JOIN
J2EE: Mandatory
public static final OperationTransactionalAction JOIN_IF_POSSIBLE
J2EE: Supports
public static final OperationTransactionalAction NOT_SUPPORTED
public static OperationTransactionalAction[] values()
for (OperationTransactionalAction c : OperationTransactionalAction.values()) System.out.println(c);
public static OperationTransactionalAction 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.