Package jakarta.resource.spi
Interface TransactionSupport
- All Superinterfaces:
Serializable
This interface may be optionally implemented by a
ManagedConnectionFactory
to provide its level of transaction
support at runtime.
When a ManagedConnectionFactory
implements this interface,
the application server uses the TransactionSupportLevel
returned
by getTransactionSupport() method and not the value specified in the
resource adapter deployment descriptor or deployer configuration
- Since:
- 1.6
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
An enumerated type that represents the levels of transaction support a resource adapter may support. -
Method Summary
Modifier and TypeMethodDescriptionGet the level of transaction support, supported by theManagedConnectionFactory
.
-
Method Details
-
getTransactionSupport
TransactionSupport.TransactionSupportLevel getTransactionSupport()Get the level of transaction support, supported by theManagedConnectionFactory
. A resource adapter must always return a level of transaction support whose ordinal value inTransactionSupportLevel
enum is equal to or lesser than the resource adapter's transaction support classification.- Returns:
- transaction support level
- Since:
- 1.6
-