Package io.kadai.common.api
Enum Class KadaiEngine.ConnectionManagementMode
java.lang.Object
java.lang.Enum<KadaiEngine.ConnectionManagementMode>
io.kadai.common.api.KadaiEngine.ConnectionManagementMode
- All Implemented Interfaces:
Serializable,Comparable<KadaiEngine.ConnectionManagementMode>,Constable
- Enclosing interface:
KadaiEngine
public static enum KadaiEngine.ConnectionManagementMode
extends Enum<KadaiEngine.ConnectionManagementMode>
Connection management mode. Controls the connection handling of kadai
- PARTICIPATE - kadai participates * in global transaction; this is the default mode *
- AUTOCOMMIT - kadai commits each * API call separately *
- EXPLICIT - commit processing is * managed explicitly by the client
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static KadaiEngine.ConnectionManagementMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PARTICIPATE
-
AUTOCOMMIT
-
EXPLICIT
-
-
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
-