Package io.helidon.integrations.jta.jdbc
Enum Class ExceptionConverter.XARoutine
java.lang.Object
java.lang.Enum<ExceptionConverter.XARoutine>
io.helidon.integrations.jta.jdbc.ExceptionConverter.XARoutine
- All Implemented Interfaces:
Serializable
,Comparable<ExceptionConverter.XARoutine>
,Constable
- Enclosing interface:
ExceptionConverter
An enum describing XA routines modeled by an
XAResource
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn enum constant modeling theXAResource.commit(Xid, boolean)
method.An enum constant modeling theXAResource.end(Xid, int)
method.An enum constant modeling theXAResource.forget(Xid)
method.An enum constant modeling theXAResource.prepare(Xid)
method.An enum constant modeling theXAResource.recover(int)
method.An enum constant modeling theXAResource.rollback(Xid)
method.An enum constant modeling theXAResource.start(Xid, int)
method. -
Method Summary
Modifier and TypeMethodDescriptionstatic ExceptionConverter.XARoutine
Returns the enum constant of this class with the specified name.static ExceptionConverter.XARoutine[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
START
An enum constant modeling theXAResource.start(Xid, int)
method. -
END
An enum constant modeling theXAResource.end(Xid, int)
method. -
PREPARE
An enum constant modeling theXAResource.prepare(Xid)
method. -
COMMIT
An enum constant modeling theXAResource.commit(Xid, boolean)
method. -
ROLLBACK
An enum constant modeling theXAResource.rollback(Xid)
method. -
RECOVER
An enum constant modeling theXAResource.recover(int)
method. -
FORGET
An enum constant modeling theXAResource.forget(Xid)
method.
-
-
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
-