Interface TransactionOperationsRegistry


@Internal public interface TransactionOperationsRegistry
The registry of various transactional operations managers.
Since:
3.9.0
Author:
Denis Stepanov
  • Method Details

    • provideSynchronous

      @NonNull <T extends TransactionOperations<?>> T provideSynchronous(Class<T> transactionManagerType, @Nullable @Nullable String dataSourceName)
      Provide synchronous transaction operations.
      Type Parameters:
      T - The operations type
      Parameters:
      transactionManagerType - The operations type
      dataSourceName - The datasource name
      Returns:
      the provided instance
    • provideReactive

      @NonNull <T extends ReactiveTransactionOperations<?>> T provideReactive(Class<T> transactionManagerType, @Nullable @Nullable String dataSourceName)
      Provide reactive transaction operations.
      Type Parameters:
      T - The operations type
      Parameters:
      transactionManagerType - The operations type
      dataSourceName - The datasource name
      Returns:
      the provided instance
    • provideAsync

      <T extends AsyncTransactionOperations<?>> T provideAsync(Class<T> transactionManagerType, @Nullable @Nullable String dataSourceName)
      Provide async transaction operations.
      Type Parameters:
      T - The operations type
      Parameters:
      transactionManagerType - The operations type
      dataSourceName - The datasource name
      Returns:
      the provided instance