@Configuration(proxyBeanMethods=false) @ConditionalOnSingleCandidate(value=javax.sql.DataSource.class) @ConditionalOnProperty(prefix="spring.quartz", name="job-store-type", havingValue="jdbc") @Import(value=DatabaseInitializationDependencyConfigurer.class) protected static class QuartzAutoConfiguration.JdbcStoreTypeConfiguration extends Object
Modifier | Constructor and Description |
---|---|
protected |
JdbcStoreTypeConfiguration() |
Modifier and Type | Method and Description |
---|---|
SchedulerFactoryBeanCustomizer |
dataSourceCustomizer(QuartzProperties properties,
DataSource dataSource,
ObjectProvider<DataSource> quartzDataSource,
ObjectProvider<PlatformTransactionManager> transactionManager,
ObjectProvider<PlatformTransactionManager> quartzTransactionManager) |
QuartzDataSourceScriptDatabaseInitializer |
quartzDataSourceScriptDatabaseInitializer(DataSource dataSource,
ObjectProvider<DataSource> quartzDataSource,
QuartzProperties properties) |
@Bean @Order(value=0) public SchedulerFactoryBeanCustomizer dataSourceCustomizer(QuartzProperties properties, DataSource dataSource, @QuartzDataSource ObjectProvider<DataSource> quartzDataSource, ObjectProvider<PlatformTransactionManager> transactionManager, @QuartzTransactionManager ObjectProvider<PlatformTransactionManager> quartzTransactionManager)
@Bean @ConditionalOnMissingBean(value={QuartzDataSourceScriptDatabaseInitializer.class,QuartzDataSourceInitializer.class}) @Conditional(value=org.springframework.boot.autoconfigure.quartz.QuartzAutoConfiguration.JdbcStoreTypeConfiguration.OnQuartzDatasourceInitializationCondition.class) public QuartzDataSourceScriptDatabaseInitializer quartzDataSourceScriptDatabaseInitializer(DataSource dataSource, @QuartzDataSource ObjectProvider<DataSource> quartzDataSource, QuartzProperties properties)