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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configureConnectionProperties
(ConnectionProperties properties, String databaseName) Configure the properties required to create and connect to the embedded database.void
shutdown
(DataSource dataSource, String databaseName) Shut down the embedded database instance that backs the suppliedDataSource
.
-
Field Details
-
logger
-
-
Constructor Details
-
EmbeddedDatabaseConfigurerDelegate
-
-
Method Details
-
configureConnectionProperties
Description copied from interface:EmbeddedDatabaseConfigurer
Configure 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:EmbeddedDatabaseConfigurer
Shut down the embedded database instance that backs the suppliedDataSource
.- Specified by:
shutdown
in interfaceEmbeddedDatabaseConfigurer
- Parameters:
dataSource
- the correspondingDataSource
databaseName
- the name of the database being shut down
-