Interface TransactionIntegration.ResourceRecoveryFactory

Enclosing interface:
TransactionIntegration

public static interface TransactionIntegration.ResourceRecoveryFactory
This interface is implemented by the connection factory so that it can provide recovery resources to the transaction layer.
  • Method Summary

    Modifier and Type
    Method
    Description
    The transaction layer can call this method to obtain one connection used for recovery of incomplete transactions.
    boolean
    The transaction layer can call this method to check if recovery is possible.
  • Method Details

    • isRecoverable

      boolean isRecoverable()
      The transaction layer can call this method to check if recovery is possible.
    • getRecoveryConnection

      XAConnection getRecoveryConnection() throws SQLException
      The transaction layer can call this method to obtain one connection used for recovery of incomplete transactions.
      Throws:
      SQLException