|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EmbeddedDatabaseConfigurer
Encapsulates the configuration required to create, connect to, and shutdown a specific type of embedded database such as HSQL or H2. Create a implementation for each database type you wish to support; for example HSQL, H2, or some other type.
Method Summary | |
---|---|
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 dataSource. |
Method Detail |
---|
void configureConnectionProperties(ConnectionProperties properties, String databaseName)
dataSource
- the data source to configuredatabaseName
- the name of the test databasevoid shutdown(DataSource dataSource, String databaseName)
dataSource
- the data sourcedatabaseName
- the name of the database being shutdown
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |