public abstract class AbstractDataSourceInitializer
extends java.lang.Object
implements org.springframework.beans.factory.InitializingBean
DataSource initialization.| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDataSourceInitializer(javax.sql.DataSource dataSource,
org.springframework.core.io.ResourceLoader resourceLoader) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
protected void |
customize(org.springframework.jdbc.datasource.init.ResourceDatabasePopulator populator)
Customize the
ResourceDatabasePopulator. |
protected java.lang.String |
getDatabaseName() |
protected abstract DataSourceInitializationMode |
getMode() |
protected abstract java.lang.String |
getSchemaLocation() |
protected void |
initialize() |
protected AbstractDataSourceInitializer(javax.sql.DataSource dataSource,
org.springframework.core.io.ResourceLoader resourceLoader)
public void afterPropertiesSet()
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanprotected void initialize()
protected void customize(org.springframework.jdbc.datasource.init.ResourceDatabasePopulator populator)
ResourceDatabasePopulator.populator - the configured database populatorprotected abstract DataSourceInitializationMode getMode()
protected abstract java.lang.String getSchemaLocation()
protected java.lang.String getDatabaseName()