public abstract class AbstractDataSourceInitializer extends Object
DataSource
initialization.Modifier | Constructor and Description |
---|---|
protected |
AbstractDataSourceInitializer(DataSource dataSource,
ResourceLoader resourceLoader) |
Modifier and Type | Method and Description |
---|---|
protected void |
customize(ResourceDatabasePopulator populator)
Customize the
ResourceDatabasePopulator . |
protected String |
getDatabaseName() |
protected abstract DataSourceInitializationMode |
getMode() |
protected abstract String |
getSchemaLocation() |
protected void |
initialize() |
protected AbstractDataSourceInitializer(DataSource dataSource, ResourceLoader resourceLoader)
@PostConstruct protected void initialize()
protected void customize(ResourceDatabasePopulator populator)
ResourceDatabasePopulator
.populator
- the configured database populatorprotected abstract DataSourceInitializationMode getMode()
protected abstract String getSchemaLocation()
protected String getDatabaseName()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.