Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionDeprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the
StepBuilder.since 5.0, scheduled for removal in 5.2. UseJobParametersConverter.getProperties(JobParameters)since 5.0, scheduled for removal in 5.2. UseJobParametersBuilder.addJobParameter(java.lang.String, org.springframework.batch.core.JobParameter<?>).since 5.0 with no replacement. Scheduled for removal in 5.2.Since v5.0.0 for removal in v5.2.0. UseTaskExecutorJobLauncher.since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutorimplementation with a limited capacity of its task queue instead.since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 for removal in 5.2. Use theJpaCursorItemReaderBuilderinstead.since 5.0 for removal in 5.2. Use theJpaItemWriterBuilderinstead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderBuilderinstead.since 5.0 for removal in 5.2. Use theJpaCursorItemReaderinstead.since 5.0 for removal in 5.2. Use the JPA item readers instead.since 5.0 for removal in 5.2. Use theJpaItemWriterinstead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderinstead.since 5.0 for removal in 5.2. Use theJpaNativeQueryProviderinstead.since 5.0 for removal in 5.2. Use theJpaQueryProviderinstead.since 5.0 in favor ofItemStream.close(). Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.open(ExecutionContext)()}. Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.update(ExecutionContext)()}. Scheduled for removal in 5.2.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutorimplemenation with a limited capacity of its task queue instead.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.since 5.0 in favor of similar utilities provided by Spring Framework. Scheduled for removal in 5.2.
-
Deprecated Interfaces
-
Deprecated ClassesClassDescriptionDeprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the
JobBuilder.Deprecated as of v5.0 and scheduled for removal in v5.2 in favor of using theStepBuilder.since 5.0 with no replacement. Scheduled for removal in 5.2.Since v5.0.0 for removal in v5.2.0. UseTaskExecutorJobLauncher.as of 5.0, in favor of the default methods on theChunkListeneras of 5.0, in favor of the default methods on theJobExecutionListeneras of v5.0 in favor of the default methods inSkipListener.as of 5.0, in favor of the default methods on theStepExecutionListenersince 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 in favor of the item reader builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 in favor of the item writer builder from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 in favor of the item reader from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 in favor of the item writer from https://github.com/spring-projects/spring-batch-extensions/blob/main/spring-batch-neo4jsince 5.0 for removal in 5.2. Use theJpaCursorItemReaderBuilderinstead.since 5.0 for removal in 5.2. Use theJpaItemWriterBuilderinstead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderBuilderinstead.since 5.0 for removal in 5.2. Use theJpaCursorItemReaderinstead.since 5.0 for removal in 5.2. Use the JPA item readers instead.since 5.0 for removal in 5.2. Use theJpaItemWriterinstead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderinstead.since 5.0 for removal in 5.2. Use theJpaNativeQueryProviderinstead.as of v5.0 in favor of the default methods inRepeatListener.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0 with no replacement. Scheduled for removal in 6.0.since 5.0 (for removal in 5.2) in favor of test utilities provided by modern test libraries like JUnit 5, AssertJ, etc.since 5.0 in favor of similar utilities provided by Spring Framework. Scheduled for removal in 5.2.
-
Deprecated Annotation InterfacesAnnotation InterfaceDescriptionsince 5.0 with no replacement. Scheduled for removal in 5.2.
-
Deprecated MethodsMethodDescriptionsince 5.0, scheduled for removal in 5.2. Use
JobParametersConverter.getProperties(JobParameters)since 5.0, scheduled for removal in 5.2. UseJobParametersBuilder.addJobParameter(java.lang.String, org.springframework.batch.core.JobParameter<?>).as of v5.0 in favor of using theJdbcJobInstanceDao.setJobInstanceIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer)since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutorimplementation with a limited capacity of its task queue instead.org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet) since 5.0 in favor ofItemStream.close(). Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.open(ExecutionContext)()}. Scheduled for removal in 5.2.since 5.0 in favor ofItemStream.update(ExecutionContext)()}. Scheduled for removal in 5.2.since 5.0, scheduled for removal in 6.0. Use a pooledTaskExecutorimplemenation with a limited capacity of its task queue instead.
-
Deprecated ConstructorsConstructorDescription
JobBuilder.