@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) |
QuartzDataSourceInitializer |
quartzDataSourceInitializer(DataSource dataSource,
ObjectProvider<DataSource> quartzDataSource,
ResourceLoader resourceLoader,
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 public QuartzDataSourceInitializer quartzDataSourceInitializer(DataSource dataSource, @QuartzDataSource ObjectProvider<DataSource> quartzDataSource, ResourceLoader resourceLoader, QuartzProperties properties)