public class IntegrationDataSourceScriptDatabaseInitializer extends DataSourceScriptDatabaseInitializer
DataSourceScriptDatabaseInitializer
for the Spring Integration database. May be
registered as a bean to override auto-configuration.Constructor and Description |
---|
IntegrationDataSourceScriptDatabaseInitializer(DataSource dataSource,
DatabaseInitializationSettings settings)
Create a new
IntegrationDataSourceScriptDatabaseInitializer instance. |
IntegrationDataSourceScriptDatabaseInitializer(DataSource dataSource,
IntegrationProperties.Jdbc properties)
Create a new
IntegrationDataSourceScriptDatabaseInitializer instance. |
getDataSource, isEmbeddedDatabase, runScripts
afterPropertiesSet, initializeDatabase, setResourceLoader
public IntegrationDataSourceScriptDatabaseInitializer(DataSource dataSource, IntegrationProperties.Jdbc properties)
IntegrationDataSourceScriptDatabaseInitializer
instance.dataSource
- the Spring Integration data sourceproperties
- the Spring Integration JDBC propertiesgetSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.integration.IntegrationProperties.Jdbc)
public IntegrationDataSourceScriptDatabaseInitializer(DataSource dataSource, DatabaseInitializationSettings settings)
IntegrationDataSourceScriptDatabaseInitializer
instance.dataSource
- the Spring Integration data sourcesettings
- the database initialization settingsgetSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.integration.IntegrationProperties.Jdbc)