Interface SimpleIdResolver

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getTransactionId​(org.jboss.remoting3.Connection connection)
      Get the transaction ID for the transaction from which this instance was taken.
    • Method Detail

      • getTransactionId

        int getTransactionId​(@NotNull
                             org.jboss.remoting3.Connection connection)
                      throws jakarta.transaction.InvalidTransactionException
        Get the transaction ID for the transaction from which this instance was taken. Check against the given connection to ensure that the transaction matches the connection, throwing an exception otherwise.
        Parameters:
        connection - the connection (must not be null)
        Returns:
        the transaction ID
        Throws:
        jakarta.transaction.InvalidTransactionException - if the transaction does not match the connection