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.
  • 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
  • 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.
  • 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)
  • 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 © 2024 Spring. All rights reserved.