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

pack-priv final Class EmbeddedDatabaseConfigurerFactory

extends Object
Class Inheritance
Imports
org.springframework.util.Assert

Maps well-known embedded database types to EmbeddedDatabaseConfigurer strategies.
Authors
Keith Donald, Oliver Gierke, Sam Brannen
Since
3.0

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static EmbeddedDatabaseConfigurer

Returns:

the configurer instance
getConfigurer
(EmbeddedDatabaseType
the embedded database type (HSQL, H2 or Derby)
type
)

Return a configurer instance for the given embedded database type.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

EmbeddedDatabaseConfigurerFactoryback to summary
private EmbeddedDatabaseConfigurerFactory()

Method Detail

getConfigurerback to summary
public static EmbeddedDatabaseConfigurer getConfigurer(EmbeddedDatabaseType type) throws IllegalStateException

Return a configurer instance for the given embedded database type.

Parameters
type:EmbeddedDatabaseType

the embedded database type (HSQL, H2 or Derby)

Returns:EmbeddedDatabaseConfigurer

the configurer instance

Exceptions
IllegalStateException:
if the driver for the specified database type is not available