Interface TransactionOperationsRegistry


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

      • provideSynchronous

        @NonNull
        <T extends TransactionOperations<?>> T provideSynchronous​(java.lang.Class<T> transactionManagerType,
                                                                  @Nullable
                                                                  java.lang.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​(java.lang.Class<T> transactionManagerType,
                                                                       @Nullable
                                                                       java.lang.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​(java.lang.Class<T> transactionManagerType,
                                                                 @Nullable
                                                                 java.lang.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