Class BooksBinderFactory.MySQLDataSourceProvider

java.lang.Object
io.github.qubitpi.athena.example.books.application.BooksBinderFactory.MySQLDataSourceProvider
All Implemented Interfaces:
jakarta.inject.Provider<DataSource>
Enclosing class:
BooksBinderFactory

public static class BooksBinderFactory.MySQLDataSourceProvider extends Object implements jakarta.inject.Provider<DataSource>
BooksBinderFactory.MySQLDataSourceProvider injects a connected local MySQL instance.
  • Constructor Details

    • MySQLDataSourceProvider

      public MySQLDataSourceProvider()
  • Method Details

    • get

      public DataSource get()
      Specified by:
      get in interface jakarta.inject.Provider<DataSource>