Class EmbeddedDatabaseConfigurerDelegate
java.lang.Object
org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurerDelegate
- All Implemented Interfaces:
EmbeddedDatabaseConfigurer
An
EmbeddedDatabaseConfigurer delegate that can be used to customize
the embedded database.- Since:
- 6.2
- Author:
- Stephane Nicoll
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidconfigureConnectionProperties(ConnectionProperties properties, String databaseName) Configure the properties required to create and connect to the embedded database.voidshutdown(DataSource dataSource, String databaseName) Shut down the embedded database instance that backs the suppliedDataSource.
-
Field Details
-
logger
protected final org.apache.commons.logging.Log logger
-
-
Constructor Details
-
EmbeddedDatabaseConfigurerDelegate
-
-
Method Details
-
configureConnectionProperties
Description copied from interface:EmbeddedDatabaseConfigurerConfigure the properties required to create and connect to the embedded database.- Parameters:
properties- connection properties to configuredatabaseName- the name of the embedded database
-
shutdown
Description copied from interface:EmbeddedDatabaseConfigurerShut down the embedded database instance that backs the suppliedDataSource.- Specified by:
shutdownin interfaceEmbeddedDatabaseConfigurer- Parameters:
dataSource- the correspondingDataSourcedatabaseName- the name of the database being shut down
-