Class IntegrationDataSourceScriptDatabaseInitializer
java.lang.Object
org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer
org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer
org.springframework.boot.autoconfigure.integration.IntegrationDataSourceScriptDatabaseInitializer
- All Implemented Interfaces:
Aware
,InitializingBean
,ResourceLoaderAware
public class IntegrationDataSourceScriptDatabaseInitializer
extends DataSourceScriptDatabaseInitializer
DataSourceScriptDatabaseInitializer
for the Spring Integration database. May be
registered as a bean to override auto-configuration.- Since:
- 2.6.0
- Author:
- Vedran Pavic, Andy Wilkinson
-
Constructor Summary
ConstructorDescriptionIntegrationDataSourceScriptDatabaseInitializer
(DataSource dataSource, IntegrationProperties.Jdbc properties) Create a newIntegrationDataSourceScriptDatabaseInitializer
instance.IntegrationDataSourceScriptDatabaseInitializer
(DataSource dataSource, DatabaseInitializationSettings settings) Create a newIntegrationDataSourceScriptDatabaseInitializer
instance. -
Method Summary
Methods inherited from class org.springframework.boot.jdbc.init.DataSourceScriptDatabaseInitializer
customize, getDataSource, isEmbeddedDatabase, runScripts
Methods inherited from class org.springframework.boot.sql.init.AbstractScriptDatabaseInitializer
afterPropertiesSet, initializeDatabase, setResourceLoader
-
Constructor Details
-
IntegrationDataSourceScriptDatabaseInitializer
public IntegrationDataSourceScriptDatabaseInitializer(DataSource dataSource, IntegrationProperties.Jdbc properties) Create a newIntegrationDataSourceScriptDatabaseInitializer
instance.- Parameters:
dataSource
- the Spring Integration data sourceproperties
- the Spring Integration JDBC properties- See Also:
-
getSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.integration.IntegrationProperties.Jdbc)
-
IntegrationDataSourceScriptDatabaseInitializer
public IntegrationDataSourceScriptDatabaseInitializer(DataSource dataSource, DatabaseInitializationSettings settings) Create a newIntegrationDataSourceScriptDatabaseInitializer
instance.- Parameters:
dataSource
- the Spring Integration data sourcesettings
- the database initialization settings- See Also:
-
getSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.integration.IntegrationProperties.Jdbc)
-