Interface ConnectionOperationsRegistry


@Internal public interface ConnectionOperationsRegistry
The registry of various connection operations managers.
Since:
4.0.0
Author:
Denis Stepanov
  • Method Details

    • provideSynchronous

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

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

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