Enum Class OperationTransactionalAction
java.lang.Object
java.lang.Enum<OperationTransactionalAction>
org.mule.runtime.extension.api.tx.OperationTransactionalAction
- All Implemented Interfaces:
Serializable,Comparable<OperationTransactionalAction>,Constable
@MinMuleVersion("4.1")
public enum OperationTransactionalAction
extends Enum<OperationTransactionalAction>
The type of joining actions that operations can take regarding transactions.
- Since:
- 1.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThere must always be a transaction present for the invocationIf there is a transaction available, then use it, otherwise continue processingExecutes outside any existent transaction -
Method Summary
Modifier and TypeMethodDescriptionstatic OperationTransactionalActionReturns the enum constant of this class with the specified name.static OperationTransactionalAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALWAYS_JOIN
There must always be a transaction present for the invocationJ2EE: Mandatory
-
JOIN_IF_POSSIBLE
If there is a transaction available, then use it, otherwise continue processingJ2EE: Supports
-
NOT_SUPPORTED
Executes outside any existent transaction
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-