DataSourceScriptDatabaseInitializer
@Deprecated public abstract class AbstractDataSourceInitializer extends Object implements InitializingBean
DataSource
initialization.Modifier | Constructor and Description |
---|---|
protected |
AbstractDataSourceInitializer(DataSource dataSource,
ResourceLoader resourceLoader)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
Deprecated.
|
protected void |
customize(ResourceDatabasePopulator populator)
Deprecated.
Customize the
ResourceDatabasePopulator . |
protected String |
getDatabaseName()
Deprecated.
|
protected abstract DataSourceInitializationMode |
getMode()
Deprecated.
|
protected abstract String |
getSchemaLocation()
Deprecated.
|
protected void |
initialize()
Deprecated.
|
protected AbstractDataSourceInitializer(DataSource dataSource, ResourceLoader resourceLoader)
public void afterPropertiesSet()
afterPropertiesSet
in interface InitializingBean
protected void initialize()
protected void customize(ResourceDatabasePopulator populator)
ResourceDatabasePopulator
.populator
- the configured database populatorprotected abstract DataSourceInitializationMode getMode()
protected abstract String getSchemaLocation()
protected String getDatabaseName()