Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Annotation Interface Elements
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.lobHandlerRef()
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getLobHandler()
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobLauncher()
    Since 5.2. Use DefaultBatchConfiguration.jobLauncher(JobRepository) instead
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobOperator()
    Since 5.2. Use DefaultBatchConfiguration.jobOperator(JobRepository, JobExplorer, JobRegistry, JobLauncher) instead
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobRegistryBeanPostProcessor()
    Use DefaultBatchConfiguration.jobRegistrySmartInitializingSingleton(JobRegistry) instead
    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.
    org.springframework.batch.core.explore.support.JobExplorerFactoryBean.setLobHandler(LobHandler)
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.job.builder.JobBuilder(String)
    use JobBuilder(String, JobRepository)
    org.springframework.batch.core.job.builder.JobBuilderHelper(String)
    use JobBuilderHelper(String, JobRepository)
    org.springframework.batch.core.job.builder.JobBuilderHelper.repository(JobRepository)
    use JobBuilderHelper(String, JobRepository)
    org.springframework.batch.core.repository.dao.JdbcExecutionContextDao.setLobHandler(LobHandler)
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.repository.support.JobRepositoryFactoryBean.setLobHandler(LobHandler)
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.getThrottleLimit()
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.throttleLimit(int)
    with no replacement since 5.0, scheduled for removal in 6.0. Use a custom RepeatOperations implementation (based on a TaskExecutor with a bounded task queue) and set it on the step with AbstractTaskletStepBuilder.stepOperations(RepeatOperations).
    org.springframework.batch.core.step.builder.StepBuilder(String)
    use StepBuilder(String, JobRepository)
    org.springframework.batch.core.step.builder.StepBuilder.chunk(int)
    use StepBuilder.chunk(int, PlatformTransactionManager)
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy)
    use StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    org.springframework.batch.core.step.builder.StepBuilder.tasklet(Tasklet)
    use StepBuilder.tasklet(Tasklet, PlatformTransactionManager)
    org.springframework.batch.core.step.builder.StepBuilderHelper(String)
    use StepBuilderHelper(String, JobRepository)
    org.springframework.batch.core.step.builder.StepBuilderHelper.repository(JobRepository)
    use StepBuilderHelper(String, JobRepository)
    org.springframework.batch.core.step.builder.TaskletStepBuilder.tasklet(Tasklet)
    use TaskletStepBuilder.tasklet(Tasklet, PlatformTransactionManager)
    org.springframework.batch.core.step.factory.SimpleStepFactoryBean.setThrottleLimit(int)
    since 5.0, scheduled for removal in 6.0. Use a pooled TaskExecutor implementation with a limited capacity of its task queue instead.
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder(String)
    use RemoteChunkingManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder.repository(JobRepository)
    use RemoteChunkingManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder(String)
    use RemotePartitioningManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder.repository(JobRepository)
    use RemotePartitioningManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder(String)
    use RemotePartitioningWorkerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(int)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.repository(JobRepository)
    use RemotePartitioningWorkerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet)
    org.springframework.batch.item.data.builder.MongoItemReaderBuilder
    Use MongoPagingItemReaderBuilder instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.data.builder.MongoItemWriterBuilder.delete(boolean)
    Use MongoItemWriterBuilder.mode(Mode) instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.data.MongoItemReader
    Use MongoPagingItemReader instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.data.MongoItemWriter.setDelete(boolean)
    use MongoItemWriter.setMode(Mode) instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.database.support.SqlWindowingPagingQueryProvider
    since 5.2.1 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.repeat.support.ResultHolderResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.repeat.support.TaskExecutorRepeatTemplate.setThrottleLimit(int)
    since 5.0, scheduled for removal in 6.0. Use a pooled TaskExecutor implemenation with a limited capacity of its task queue instead.
    org.springframework.batch.repeat.support.ThrottleLimitResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.support.SystemPropertyInitializer
    since 5.2 with no replacement.
  • Deprecated Classes
    Class
    Description
    org.springframework.batch.core.configuration.support.JobRegistryBeanPostProcessor
    since 5.2 in favor of JobRegistrySmartInitializingSingleton.
    org.springframework.batch.core.listener.ChunkListenerSupport
    as of 5.0, in favor of the default methods on the ChunkListener
    org.springframework.batch.core.listener.JobExecutionListenerSupport
    as of 5.0, in favor of the default methods on the JobExecutionListener
    org.springframework.batch.core.listener.SkipListenerSupport
    as of v5.0 in favor of the default methods in SkipListener.
    org.springframework.batch.core.listener.StepExecutionListenerSupport
    as of 5.0, in favor of the default methods on the StepExecutionListener
    org.springframework.batch.item.data.builder.MongoItemReaderBuilder
    Use MongoPagingItemReaderBuilder instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.data.builder.Neo4jItemReaderBuilder
    since 5.0 in favor of the item reader builder from ...
    org.springframework.batch.item.data.builder.Neo4jItemWriterBuilder
    since 5.0 in favor of the item writer builder from ...
    org.springframework.batch.item.data.MongoItemReader
    Use MongoPagingItemReader instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.data.Neo4jItemReader
    since 5.0 in favor of the item reader from ...
    org.springframework.batch.item.data.Neo4jItemWriter
    since 5.0 in favor of the item writer from ...
    org.springframework.batch.item.database.support.SqlWindowingPagingQueryProvider
    since 5.2.1 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.repeat.listener.RepeatListenerSupport
    as of v5.0 in favor of the default methods in RepeatListener.
    org.springframework.batch.repeat.support.ResultHolderResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.repeat.support.ThrottleLimitResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.support.SystemPropertyInitializer
    since 5.2 with no replacement.
  • Deprecated Methods
    Method
    Description
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.lobHandlerRef()
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getLobHandler()
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobLauncher()
    Since 5.2. Use DefaultBatchConfiguration.jobLauncher(JobRepository) instead
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobOperator()
    Since 5.2. Use DefaultBatchConfiguration.jobOperator(JobRepository, JobExplorer, JobRegistry, JobLauncher) instead
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.jobRegistryBeanPostProcessor()
    Use DefaultBatchConfiguration.jobRegistrySmartInitializingSingleton(JobRegistry) instead
    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.
    org.springframework.batch.core.explore.support.JobExplorerFactoryBean.setLobHandler(LobHandler)
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.job.builder.JobBuilderHelper.repository(JobRepository)
    use JobBuilderHelper(String, JobRepository)
    org.springframework.batch.core.repository.dao.JdbcExecutionContextDao.setLobHandler(LobHandler)
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.repository.dao.JdbcJobInstanceDao.setJobIncrementer(DataFieldMaxValueIncrementer)
    as of v5.0 in favor of using the JdbcJobInstanceDao.setJobInstanceIncrementer(org.springframework.jdbc.support.incrementer.DataFieldMaxValueIncrementer)
    org.springframework.batch.core.repository.support.JobRepositoryFactoryBean.setLobHandler(LobHandler)
    Since 5.2 with no replacement. Scheduled for removal in v6
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.getThrottleLimit()
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.throttleLimit(int)
    with no replacement since 5.0, scheduled for removal in 6.0. Use a custom RepeatOperations implementation (based on a TaskExecutor with a bounded task queue) and set it on the step with AbstractTaskletStepBuilder.stepOperations(RepeatOperations).
    org.springframework.batch.core.step.builder.StepBuilder.chunk(int)
    use StepBuilder.chunk(int, PlatformTransactionManager)
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy)
    use StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    org.springframework.batch.core.step.builder.StepBuilder.tasklet(Tasklet)
    use StepBuilder.tasklet(Tasklet, PlatformTransactionManager)
    org.springframework.batch.core.step.builder.StepBuilderHelper.repository(JobRepository)
    use StepBuilderHelper(String, JobRepository)
    org.springframework.batch.core.step.builder.TaskletStepBuilder.tasklet(Tasklet)
    use TaskletStepBuilder.tasklet(Tasklet, PlatformTransactionManager)
    org.springframework.batch.core.step.factory.SimpleStepFactoryBean.setThrottleLimit(int)
    since 5.0, scheduled for removal in 6.0. Use a pooled TaskExecutor implementation with a limited capacity of its task queue instead.
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder.repository(JobRepository)
    use RemoteChunkingManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder.repository(JobRepository)
    use RemotePartitioningManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(int)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.repository(JobRepository)
    use RemotePartitioningWorkerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.tasklet(Tasklet)
    org.springframework.batch.item.data.builder.MongoItemWriterBuilder.delete(boolean)
    Use MongoItemWriterBuilder.mode(Mode) instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.data.MongoItemWriter.setDelete(boolean)
    use MongoItemWriter.setMode(Mode) instead. Scheduled for removal in v5.3 or later.
    org.springframework.batch.item.database.support.SqlPagingQueryUtils.generateGroupedTopSqlQuery(AbstractSqlPagingQueryProvider, boolean, String)
    since v5.2 in favor of SqlPagingQueryUtils.generateGroupedTopSqlQuery(AbstractSqlPagingQueryProvider, String)
    org.springframework.batch.item.database.support.SqlPagingQueryUtils.generateLimitGroupedSqlQuery(AbstractSqlPagingQueryProvider, boolean, String)
    as of v5.0 in favor of SqlPagingQueryUtils.generateLimitGroupedSqlQuery(AbstractSqlPagingQueryProvider, java.lang.String)
    org.springframework.batch.repeat.support.TaskExecutorRepeatTemplate.setThrottleLimit(int)
    since 5.0, scheduled for removal in 6.0. Use a pooled TaskExecutor implemenation with a limited capacity of its task queue instead.
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.batch.core.job.builder.JobBuilder(String)
    use JobBuilder(String, JobRepository)
    org.springframework.batch.core.job.builder.JobBuilderHelper(String)
    use JobBuilderHelper(String, JobRepository)
    org.springframework.batch.core.step.builder.StepBuilder(String)
    use StepBuilder(String, JobRepository)
    org.springframework.batch.core.step.builder.StepBuilderHelper(String)
    use StepBuilderHelper(String, JobRepository)
    org.springframework.batch.integration.chunk.RemoteChunkingManagerStepBuilder(String)
    use RemoteChunkingManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningManagerStepBuilder(String)
    use RemotePartitioningManagerStepBuilder(String, JobRepository)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder(String)
    use RemotePartitioningWorkerStepBuilder(String, JobRepository)
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.lobHandlerRef()
    Since 5.2 with no replacement. Scheduled for removal in v6

Copyright © 2025 Spring. All rights reserved.