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

Deprecated API

Contents

  • Terminally Deprecated
  • Classes
  • Methods
  • Constructors
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.batch.core.configuration.annotation.JobBuilderFactory
    Deprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the JobBuilder.
    org.springframework.batch.core.configuration.annotation.StepBuilderFactory
    Deprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the StepBuilder.
    org.springframework.batch.core.JobParameters.toProperties()
    since 5.0, scheduled for removal in 5.2. Use JobParametersConverter.getProperties(JobParameters)
    org.springframework.batch.core.JobParametersBuilder.addParameter(String, JobParameter<?>)
    since 5.0, scheduled for removal in 5.2. Use JobParametersBuilder.addJobParameter(java.lang.String, org.springframework.batch.core.JobParameter<?>).
    org.springframework.batch.core.launch.JobOperator.start(String, String)
    use JobOperator.start(String, Properties) instead. Will be removed in v5.2.
    org.springframework.batch.core.launch.support.JobRegistryBackgroundJobRunner
    since 5.0 with no replacement. Scheduled for removal in 5.2.
    org.springframework.batch.core.launch.support.SimpleJobLauncher
    Since v5.0.0 for removal in v5.2.0. Use TaskExecutorJobLauncher.
    org.springframework.batch.core.launch.support.SimpleJobOperator.start(String, String)
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.getThrottleLimit()
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.throttleLimit(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.annotation.JobBuilderFactory
    Deprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the JobBuilder.
    org.springframework.batch.core.configuration.annotation.StepBuilderFactory
    Deprecated as of v5.0 and scheduled for removal in v5.2 in favor of using the StepBuilder.
    org.springframework.batch.core.launch.support.JobRegistryBackgroundJobRunner
    since 5.0 with no replacement. Scheduled for removal in 5.2.
    org.springframework.batch.core.launch.support.SimpleJobLauncher
    Since v5.0.0 for removal in v5.2.0. Use TaskExecutorJobLauncher.
    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.JobParameters.toProperties()
    since 5.0, scheduled for removal in 5.2. Use JobParametersConverter.getProperties(JobParameters)
    org.springframework.batch.core.JobParametersBuilder.addParameter(String, JobParameter<?>)
    since 5.0, scheduled for removal in 5.2. Use JobParametersBuilder.addJobParameter(java.lang.String, org.springframework.batch.core.JobParameter<?>).
    org.springframework.batch.core.launch.JobOperator.start(String, String)
    use JobOperator.start(String, Properties) instead. Will be removed in v5.2.
    org.springframework.batch.core.launch.support.SimpleJobOperator.start(String, String)
    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.step.builder.AbstractTaskletStepBuilder.getThrottleLimit()
    org.springframework.batch.core.step.builder.AbstractTaskletStepBuilder.throttleLimit(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.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.TaskletStepBuilder.tasklet(Tasklet)
    use TaskletStepBuilder.tasklet(Tasklet, PlatformTransactionManager)
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.batch.core.job.builder.JobBuilder(String)
    use JobBuilder(String, JobRepository)
    org.springframework.batch.core.step.builder.StepBuilder(String)
    use StepBuilder(String, JobRepository)

Copyright © 2023 Spring. All rights reserved.