Interface PostgresStorageConfigurationProvider

All Superinterfaces:
io.micronaut.core.naming.Named, RootClassConfigurationProvider
All Known Implementing Classes:
DefaultPostgresStorageConfigurationProvider

public interface PostgresStorageConfigurationProvider extends RootClassConfigurationProvider
Since:
2.0.0
Author:
Tim Yates
  • Method Details

    • getDatasourceName

      @NonNull @NonNull Optional<String> getDatasourceName()
      The name qualifier of the defined postgres DataSource to use. If unset, a datasource with the same name as the storage will be used. If there is no bean with a name qualifier matching the storage name, the default datasource will be used.
      Returns:
      Returns the name qualifier of the datasource to use.
    • getTableName

      @NonNull @NonNull String getTableName()
      Returns:
      Returns the name of the table to use.