-
- All Superinterfaces:
Serializable
public interface TransactionSupport extends Serializable
This interface may be optionally implemented by aManagedConnectionFactoryto provide its level of transaction support at runtime.When a
ManagedConnectionFactoryimplements this interface, the application server uses theTransactionSupportLevelreturned by getTransactionSupport() method and not the value specified in the resource adapter deployment descriptor or deployer configuration- Since:
- 1.6
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTransactionSupport.TransactionSupportLevelAn enumerated type that represents the levels of transaction support a resource adapter may support.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactionSupport.TransactionSupportLevelgetTransactionSupport()Get the level of transaction support, supported by theManagedConnectionFactory.
-
-
-
Method Detail
-
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 inTransactionSupportLevelenum is equal to or lesser than the resource adapter's transaction support classification.- Returns:
- transaction support level
- Since:
- 1.6
-
-