Deprecated API
Contents
-
Terminally Deprecated ElementsElementDescriptionDeprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the
StepBuilder.org.springframework.batch.core.configuration.xml.StepParserStepFactoryBean.setThrottleLimit(Integer) since 5.0, scheduled for removal in 6.0. This API is not intended for end users anyway. It is only used by the XML namespace parser.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 customRepeatOperationsimplementation (based on aTaskExecutorwith a bounded task queue) and set it on the step withAbstractTaskletStepBuilder.stepOperations(RepeatOperations).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 with no replacement. Scheduled for removal in 5.2.UseMongoPagingItemReaderBuilderinstead. Scheduled for removal in v5.3 or later.UseMongoItemWriterBuilder.mode(Mode)instead. Scheduled for removal in v5.3 or later.UseMongoPagingItemReaderinstead. Scheduled for removal in v5.3 or later.useMongoItemWriter.setMode(Mode)instead. Scheduled for removal in v5.3 or later.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.use {MetaDataInstanceFactory.createJobExecution(String, Long, Long, JobParameters)} instead. Will be removed in v5.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.UseMongoPagingItemReaderBuilderinstead. Scheduled for removal in v5.3 or later.since 5.0 in favor of the item reader builder from ...since 5.0 in favor of the item writer builder from ...UseMongoPagingItemReaderinstead. Scheduled for removal in v5.3 or later.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 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 MethodsMethodDescriptionorg.springframework.batch.core.configuration.xml.StepParserStepFactoryBean.setThrottleLimit
(Integer) since 5.0, scheduled for removal in 6.0. This API is not intended for end users anyway. It is only used by the XML namespace parser.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.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 customRepeatOperationsimplementation (based on aTaskExecutorwith a bounded task queue) and set it on the step withAbstractTaskletStepBuilder.stepOperations(RepeatOperations).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) UseMongoItemWriterBuilder.mode(Mode)instead. Scheduled for removal in v5.3 or later.useMongoItemWriter.setMode(Mode)instead. Scheduled for removal in v5.3 or later.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.use {MetaDataInstanceFactory.createJobExecution(String, Long, Long, JobParameters)} instead. Will be removed in v5.2
-
Deprecated ConstructorsConstructorDescription
JobBuilder.