EmbeddedDatabaseConfigurer for the Apache Derby database.
Call getInstance() to get the singleton instance of this class.
| Modifier and Type | Field and Description |
|---|---|
| private static DerbyEmbeddedDatabaseConfigurer | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | configureConnectionProperties(ConnectionProperties
connection properties to configure properties, String the name of the embedded database databaseName)Implements org. |
| public static synchronized DerbyEmbeddedDatabaseConfigurer | Returns: the configurer instanceGet the singleton |
| public void | shutdown(DataSource
the corresponding dataSource, String DataSourcethe name of the database being shut down databaseName)Implements org. DataSource.
|
| instance | back to summary |
|---|---|
| private static DerbyEmbeddedDatabaseConfigurer instance
| |
| URL_TEMPLATE | back to summary |
|---|---|
| private static final String URL_TEMPLATE | |
| DerbyEmbeddedDatabaseConfigurer | back to summary |
|---|---|
| private DerbyEmbeddedDatabaseConfigurer() | |
| configureConnectionProperties | back to summary |
|---|---|
| public void configureConnectionProperties(ConnectionProperties properties, String databaseName) Implements org. Configure the properties required to create and connect to the embedded database.
| |
| getInstance | back to summary |
|---|---|
| public static synchronized DerbyEmbeddedDatabaseConfigurer getInstance() Get the singleton
| |
| shutdown | back to summary |
|---|---|
| public void shutdown(DataSource dataSource, String databaseName) Implements org. Doc from org. Shut down the embedded database instance that backs the supplied
| |