Identified depracations and updated the code

This commit is contained in:
Glenn Renfro
2023-03-20 14:01:45 -04:00
parent afc1b2ea9e
commit 4f0b68bd0b
8 changed files with 41 additions and 62 deletions

View File

@@ -278,27 +278,6 @@ public class TaskJobLauncherApplicationRunnerTests {
@Configuration
public static class JobWithFailureTaskExecutorConfiguration {
// @Bean
// public BatchConfigurer batchConfigurer(DataSource dataSource) {
// return new TestBatchConfigurer(dataSource);
// }
}
// private static class TestBatchConfigurer extends DefaultBatchConfigurer {
//
// TestBatchConfigurer(DataSource dataSource) {
// super(dataSource);
// }
//
// protected JobLauncher createJobLauncher() throws Exception {
// TaskExecutorJobLauncher jobLauncher = new TaskExecutorJobLauncher();
// jobLauncher.setJobRepository(getJobRepository());
// jobLauncher.setTaskExecutor(new ConcurrentTaskExecutor());
// jobLauncher.afterPropertiesSet();
// return jobLauncher;
// }
//
// }
}