Top Description Fields Constructors Methods
org.springframework.jdbc.datasource.embedded

pack-priv abstract Class AbstractEmbeddedDatabaseConfigurer

extends Object
implements EmbeddedDatabaseConfigurer
Class Inheritance
All Implemented Interfaces
org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer
Known Direct Subclasses
org.springframework.jdbc.datasource.embedded.H2EmbeddedDatabaseConfigurer, org.springframework.jdbc.datasource.embedded.HsqlEmbeddedDatabaseConfigurer
Imports
java.sql.Connection, .SQLException, .Statement, javax.sql.DataSource, org.apache.commons.logging.Log, .LogFactory

Base class for EmbeddedDatabaseConfigurer implementations providing common shutdown behavior through a "SHUTDOWN" statement.
Authors
Oliver Gierke, Juergen Hoeller
Since
3.0

Field Summary

Modifier and TypeField and Description
protected final Log

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public void
shutdown(DataSource
the corresponding DataSource
dataSource
,
String
the name of the database being shut down
databaseName
)

Implements org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer.shutdown.

Shut down the embedded database instance that backs the supplied DataSource.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

loggerback to summary
protected final Log logger

Constructor Detail

AbstractEmbeddedDatabaseConfigurerback to summary
pack-priv AbstractEmbeddedDatabaseConfigurer()

Method Detail

shutdownback to summary
public void shutdown(DataSource dataSource, String databaseName)

Implements org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer.shutdown.

Doc from org.springframework.jdbc.datasource.embedded.EmbeddedDatabaseConfigurer.shutdown.

Shut down the embedded database instance that backs the supplied DataSource.

Parameters
dataSource:DataSource

the corresponding DataSource

databaseName:String

the name of the database being shut down

Annotations
@Override