Package io.quarkus.narayana.jta.runtime
Enum Class TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode
java.lang.Object
java.lang.Enum<TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode>
io.quarkus.narayana.jta.runtime.TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode
- All Implemented Interfaces:
Serializable,Comparable<TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode>,Constable
- Enclosing interface:
- TransactionManagerBuildTimeConfig
public static enum TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode
extends Enum<TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode>
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAllow using multiple XA unaware resources in the same transactional demarcation.Allow using multiple XA unaware resources in the same transactional demarcation, but log a warning on each occurrence.Allow using multiple XA unaware resources in the same transactional demarcation, but log a warning on each occurrence.Allow using multiple XA unaware resources in the same transactional demarcation, but log a warning on the first occurrence. -
Field Summary
FieldsModifier and TypeFieldDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ALLOW
Allow using multiple XA unaware resources in the same transactional demarcation.This will log a warning once on application startup, but not on each use of multiple XA unaware resources in the same transactional demarcation.
-
WARN_FIRST
Allow using multiple XA unaware resources in the same transactional demarcation, but log a warning on the first occurrence. -
WARN_EACH
Allow using multiple XA unaware resources in the same transactional demarcation, but log a warning on each occurrence. -
FAIL
Allow using multiple XA unaware resources in the same transactional demarcation, but log a warning on each occurrence.
-
-
Field Details
-
DEFAULT
-
-
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
public static TransactionManagerBuildTimeConfig.UnsafeMultipleLastResourcesMode 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 nameNullPointerException- if the argument is null
-