Interface TransactionCallback<T>

Type Parameters:
T - the return type of this work.

public interface TransactionCallback<T>
Callback that executes operations in a given TransactionContext.
  • Method Summary

    Modifier and Type
    Method
    Description
    Executes all given operations in the same transaction context.
  • Method Details

    • execute

      T execute(TransactionContext context)
      Executes all given operations in the same transaction context.
      Parameters:
      context - the transaction context to use.
      Returns:
      result object or null if none.