public class QuartzDataSourceScriptDatabaseInitializer extends DataSourceScriptDatabaseInitializer
DataSourceScriptDatabaseInitializer
for the Quartz Scheduler database. May be
registered as a bean to override auto-configuration.Constructor and Description |
---|
QuartzDataSourceScriptDatabaseInitializer(DataSource dataSource,
DatabaseInitializationSettings settings)
Create a new
QuartzDataSourceScriptDatabaseInitializer instance. |
QuartzDataSourceScriptDatabaseInitializer(DataSource dataSource,
QuartzProperties properties)
Create a new
QuartzDataSourceScriptDatabaseInitializer instance. |
Modifier and Type | Method and Description |
---|---|
static DatabaseInitializationSettings |
getSettings(DataSource dataSource,
QuartzProperties properties)
Adapts
Quartz properties to
DatabaseInitializationSettings replacing any @@platform@@
placeholders. |
getDataSource, isEmbeddedDatabase, runScripts
afterPropertiesSet, initializeDatabase, setResourceLoader
public QuartzDataSourceScriptDatabaseInitializer(DataSource dataSource, QuartzProperties properties)
QuartzDataSourceScriptDatabaseInitializer
instance.dataSource
- the Quartz Scheduler data sourceproperties
- the Quartz propertiesgetSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.quartz.QuartzProperties)
public QuartzDataSourceScriptDatabaseInitializer(DataSource dataSource, DatabaseInitializationSettings settings)
QuartzDataSourceScriptDatabaseInitializer
instance.dataSource
- the Quartz Scheduler data sourcesettings
- the database initialization settingsgetSettings(javax.sql.DataSource, org.springframework.boot.autoconfigure.quartz.QuartzProperties)
public static DatabaseInitializationSettings getSettings(DataSource dataSource, QuartzProperties properties)
Quartz properties
to
DatabaseInitializationSettings
replacing any @@platform@@
placeholders.dataSource
- the Quartz Scheduler data sourceproperties
- the Quartz propertiesDatabaseInitializationSettings
instanceQuartzDataSourceScriptDatabaseInitializer(DataSource,
DatabaseInitializationSettings)