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
  • Enum Constant Details

    • ALWAYS_JOIN

      public static final OperationTransactionalAction ALWAYS_JOIN
      There must always be a transaction present for the invocation

      J2EE: Mandatory

    • JOIN_IF_POSSIBLE

      public static final OperationTransactionalAction JOIN_IF_POSSIBLE
      If there is a transaction available, then use it, otherwise continue processing

      J2EE: Supports

    • NOT_SUPPORTED

      public static final OperationTransactionalAction NOT_SUPPORTED
      Executes outside any existent transaction
  • Method Details

    • values

      public static OperationTransactionalAction[] 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

      public static OperationTransactionalAction valueOf(String name)
      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 name
      NullPointerException - if the argument is null