org.springframework.jdbc.datasource.embedded

## Interface EmbeddedDatabaseConfigurer

-     public interface EmbeddedDatabaseConfigurer

  `EmbeddedDatabaseConfigurer` encapsulates the configuration required to create, connect to, and shutdown a specific type of embedded database such as HSQL or H2.

  Create an implementation for each database type you wish to support; for example HSQL, H2, or some other type.

  Since:
    3.0
  Author:
    Keith Donald, Sam Brannen

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `configureConnectionProperties(ConnectionProperties properties, String databaseName)` Configure the properties required to create and connect to the embedded database instance.
    `void` | `shutdown(DataSource dataSource, String databaseName)` Shutdown the embedded database instance that backs the supplied `DataSource`.

- - ### Method Detail

    - #### configureConnectionProperties

          void configureConnectionProperties(ConnectionProperties properties,
                                             String databaseName)

      Configure the properties required to create and connect to the embedded database instance.
      Parameters:
        `properties` - connection properties to configure
        `databaseName` - the name of the embedded database

    - #### shutdown

          void shutdown(DataSource dataSource,
                        String databaseName)

      Shutdown the embedded database instance that backs the supplied `DataSource`.
      Parameters:
        `dataSource` - the data source
        `databaseName` - the name of the database being shutdown