Deprecated API
Contents
-
ElementDescriptionDeprecated 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<?>)
.useJobOperator.start(String, Properties)
instead. Will be removed in v5.2.since 5.0 with no replacement. Scheduled for removal in 5.2.Since v5.0.0 for removal in v5.2.0. UseTaskExecutorJobLauncher
.with no replacement since 5.0, scheduled for removal in 6.0. Use a customRepeatOperations
implementation (based on aTaskExecutor
with a bounded task queue) and set it on the step withAbstractTaskletStepBuilder.stepOperations(RepeatOperations)
.org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet) since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 for removal in 5.2. Use theJpaCursorItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaItemWriterBuilder
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaCursorItemReader
instead.since 5.0 for removal in 5.2. Use the JPA item readers instead.since 5.0 for removal in 5.2. Use theJpaItemWriter
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReader
instead.since 5.0 for removal in 5.2. Use theJpaNativeQueryProvider
instead.since 5.0 for removal in 5.2. Use theJpaQueryProvider
instead.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 pooledTaskExecutor
implemenation 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.use {MetaDataInstanceFactory.createJobExecution(String, Long, Long, JobParameters)
} instead. Will be removed in v5.2
-
ClassDescriptionDeprecated 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 theChunkListener
as of 5.0, in favor of the default methods on theJobExecutionListener
as of v5.0 in favor of the default methods inSkipListener
.as of 5.0, in favor of the default methods on theStepExecutionListener
since 5.0 with no replacement. Scheduled for removal in 5.2.since 5.0 in favor of the item reader builder from ...since 5.0 in favor of the item writer builder from ...since 5.0 in favor of the item reader from ...since 5.0 in favor of the item writer from ...since 5.0 for removal in 5.2. Use theJpaCursorItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaItemWriterBuilder
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReaderBuilder
instead.since 5.0 for removal in 5.2. Use theJpaCursorItemReader
instead.since 5.0 for removal in 5.2. Use the JPA item readers instead.since 5.0 for removal in 5.2. Use theJpaItemWriter
instead.since 5.0 for removal in 5.2. Use theJpaPagingItemReader
instead.since 5.0 for removal in 5.2. Use theJpaNativeQueryProvider
instead.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.
-
Annotation InterfaceDescriptionsince 5.0 with no replacement. Scheduled for removal in 5.2.
-
MethodDescriptionsince 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<?>)
.useJobOperator.start(String, Properties)
instead. Will be removed in v5.2.as of v5.0 in favor of using theJdbcJobInstanceDao.setJobInstanceIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer)
with no replacement since 5.0, scheduled for removal in 6.0. Use a customRepeatOperations
implementation (based on aTaskExecutor
with a bounded task queue) and set it on the step withAbstractTaskletStepBuilder.stepOperations(RepeatOperations)
.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 pooledTaskExecutor
implemenation with a limited capacity of its task queue instead.use {MetaDataInstanceFactory.createJobExecution(String, Long, Long, JobParameters)
} instead. Will be removed in v5.2
-
ConstructorDescription
JobBuilder
.