Interface TransactionSupplier

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TransactionSupplier
A supplier of Transactions.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the current Transaction representing the transaction context of the calling thread, or null if there is no such context at invocation time.
  • Method Details

    • getTransaction

      Transaction getTransaction() throws SystemException
      Returns the current Transaction representing the transaction context of the calling thread, or null if there is no such context at invocation time.
      Returns:
      the current Transaction representing the transaction context of the calling thread, or null if there is no such context at invocation time
      Throws:
      SystemException - if there was an unexpected error condition