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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Constructors
  • Annotation Interface Elements
  • Terminally Deprecated Elements
    Element
    Description
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.jobParametersConverterRef()
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.modular()
    since 6.0 in favor of Spring's context hierarchies and GroupAwareJobs. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.JobFactory
    org.springframework.batch.core.configuration.JobLocator
    since 6.0 in favor of JobRegistry. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.ListableJobLocator
    since 6.0, scheduled for removal in 6.2 or later. Use JobRegistry instead.
    org.springframework.batch.core.configuration.support.AbstractApplicationContextFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.ApplicationContextFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.ApplicationContextJobFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.AutomaticJobRegistrar
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.ClasspathXmlApplicationContextsFactoryBean
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getJobParametersConverter()
    since 6.0 with no replacement and scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.DefaultJobLoader
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.GenericApplicationContextFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.JobFactoryRegistrationListener
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.JobLoader
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.JobRegistrySmartInitializingSingleton
    since 6.0 with no replacement. Register a MapJobRegistry as a bean, and it will automatically register all Job beans in the application context.
    org.springframework.batch.core.configuration.support.ReferenceJobFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobLauncher
    since 6.0 in favor of JobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.abandon(long)
    since 6.0 in favor of JobOperator.abandon(JobExecution). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getExecutions(long)
    Since 6.0 in favor of JobRepository.getJobExecutions(JobInstance). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getJobInstance(String, JobParameters)
    Since 6.0 in favor of JobRepository.getJobInstance(String, JobParameters). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getJobInstances(String, int, int)
    Since 6.0 in favor of JobRepository.getJobInstances(String, int, int). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getJobNames()
    since 6.0 in favor of JobRegistry.getJobNames(). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getParameters(long)
    Since 6.0 in favor of the getJobParameters() method of JobRepository.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getRunningExecutions(String)
    Since 6.0 in favor of JobRepository.findRunningJobExecutions(String). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getStepExecutionSummaries(long)
    Since 6.0 in favor of the getStepExecutions() method of JobRepository.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getSummary(long)
    Since 6.0 in favor of the toString() method of JobRepository.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.restart(long)
    since 6.0 in favor of JobOperator.restart(JobExecution). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.start(String, Properties)
    since 6.0 in favor of JobOperator.start(Job, JobParameters). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.startNextInstance(String)
    since 6.0 in favor of JobOperator.startNextInstance(Job). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.stop(long)
    since 6.0 in favor of JobOperator.stop(JobExecution). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.CommandLineJobRunner
    since 6.0 in favor of CommandLineJobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.CommandLineJobRunner.setJobLocator(JobLocator)
    since 6.0 in favor of {CommandLineJobRunner.setJobRegistry(JobRegistry)}. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.JobOperatorFactoryBean.setJobParametersConverter(JobParametersConverter)
    since 6.0 with nor replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.JvmSystemExiter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.RuntimeExceptionTranslator
    since 6.0 with no replacement, for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SimpleJobOperator
    since 6.0 in favor of TaskExecutorJobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SimpleJobOperator.abandon(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getExecutions(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getJobInstance(String, JobParameters)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getJobInstances(String, int, int)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getJobNames()
    org.springframework.batch.core.launch.support.SimpleJobOperator.getParameters(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getRunningExecutions(String)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getStepExecutionSummaries(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getSummary(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.restart(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.setJobParametersConverter(JobParametersConverter)
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SimpleJobOperator.start(String, Properties)
    org.springframework.batch.core.launch.support.SimpleJobOperator.startNextInstance(String)
    org.springframework.batch.core.launch.support.SimpleJobOperator.stop(long)
    org.springframework.batch.core.launch.support.SystemExiter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.TaskExecutorJobLauncher
    since 6.0 in favor of TaskExecutorJobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.ChunkListener.afterChunk(ChunkContext)
    since 6.0, use ChunkListener.afterChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.ChunkListener.afterChunkError(ChunkContext)
    since 6.0, use ChunkListener.onChunkError(Exception,Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.ChunkListener.beforeChunk(ChunkContext)
    since 6.0, use ChunkListener.beforeChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.ChunkListener.ROLLBACK_EXCEPTION_KEY
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.CompositeChunkListener.afterChunk(ChunkContext)
    since 6.0, use CompositeChunkListener.afterChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.CompositeChunkListener.afterChunkError(ChunkContext)
    since 6.0, use CompositeChunkListener.onChunkError(Exception,Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.CompositeChunkListener.beforeChunk(ChunkContext)
    since 6.0, use CompositeChunkListener.beforeChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.dao.jdbc.JdbcJobInstanceDao.findJobInstancesByName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use JdbcJobInstanceDao.getJobInstances(String, int, int) instead.
    org.springframework.batch.core.repository.dao.JobInstanceDao.findJobInstancesByName(String, int, int)
    Since v6.0 and scheduled for removal in v6.2. Use JobInstanceDao.getJobInstances(String, int, int)
    org.springframework.batch.core.repository.dao.mongodb.MongoJobInstanceDao.findJobInstancesByName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use MongoJobInstanceDao.getJobInstances(String, int, int) instead.
    org.springframework.batch.core.repository.explore.JobExplorer
    since 6.0 in favor of JobRepository. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.JobExplorer.findJobExecutions(JobInstance)
    since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobExecutions(JobInstance)
    org.springframework.batch.core.repository.explore.JobExplorer.findJobInstancesByJobName(String, int, int)
    Since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobInstances(String, int, int)
    org.springframework.batch.core.repository.explore.JobExplorer.findJobInstancesByName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobInstances(String, int, int)
    org.springframework.batch.core.repository.explore.JobExplorer.isJobInstanceExists(String, JobParameters)
    Since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobInstance(String, JobParameters) and check for null result instead.
    org.springframework.batch.core.repository.explore.support.AbstractJobExplorerFactoryBean
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.JdbcJobExplorerFactoryBean
    since 6.0 in favor of JdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean
    since 6.0 in favor of JdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.MongoJobExplorerFactoryBean
    since 6.0 in favor of MongoJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer
    since 6.0 in favor of SimpleJobRepository. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.findJobExecutions(JobInstance)
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.findJobInstancesByJobName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use SimpleJobExplorer.getJobInstances(String, int, int) instead.
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.findJobInstancesByName(String, int, int)
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.isJobInstanceExists(String, JobParameters)
    org.springframework.batch.core.repository.support.JobRepositoryFactoryBean
    since 6.0 in favor of JdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.resource.StepExecutionSimpleCompletionPolicy
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    since 6.0, use StepBuilder.chunk(int, PlatformTransactionManager) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.step.job.DefaultJobParametersExtractor.setJobParametersConverter(JobParametersConverter)
    since 6.0 in favor of DefaultJobParametersExtractor.convert(Properties), scheduled for removal in 6.2 or later.
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    org.springframework.batch.item.Chunk(List<? extends W>, List<SkipWrapper<W>>)
    org.springframework.batch.item.Chunk.clearSkips()
    org.springframework.batch.item.Chunk.getErrors()
    org.springframework.batch.item.Chunk.getSkips()
    org.springframework.batch.item.Chunk.getSkipsSize()
    org.springframework.batch.item.Chunk.getUserData()
    org.springframework.batch.item.Chunk.isBusy()
    org.springframework.batch.item.Chunk.isEnd()
    org.springframework.batch.item.Chunk.setBusy(boolean)
    org.springframework.batch.item.Chunk.setEnd()
    org.springframework.batch.item.Chunk.setUserData(Object)
    org.springframework.batch.item.Chunk.skip(Exception)
    org.springframework.batch.item.SkipWrapper
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    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.PropertiesConverter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils
    Since 6.0 in favor of JobOperatorTestUtils. Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchJob()
    Since 6.0 in favor of JobOperatorTestUtils.startJob(). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchJob(JobParameters)
    Since 6.0 in favor of JobOperatorTestUtils.startJob(JobParameters). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchStep(String)
    Since 6.0 in favor of JobOperatorTestUtils.startStep(String). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchStep(String, JobParameters, ExecutionContext)
    Since 6.0 in favor of JobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.StepRunner
    since 6.0 in favor of JobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later
  • Deprecated Interfaces
    Interface
    Description
    org.springframework.batch.core.configuration.JobFactory
    org.springframework.batch.core.configuration.JobLocator
    since 6.0 in favor of JobRegistry. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.ListableJobLocator
    since 6.0, scheduled for removal in 6.2 or later. Use JobRegistry instead.
    org.springframework.batch.core.configuration.support.ApplicationContextFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.JobLoader
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobLauncher
    since 6.0 in favor of JobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SystemExiter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.JobExplorer
    since 6.0 in favor of JobRepository. Scheduled for removal in 6.2 or later.
  • Deprecated Classes
    Class
    Description
    org.springframework.batch.core.configuration.support.AbstractApplicationContextFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.ApplicationContextJobFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.AutomaticJobRegistrar
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.ClasspathXmlApplicationContextsFactoryBean
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.DefaultJobLoader
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.GenericApplicationContextFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.JobFactoryRegistrationListener
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.JobRegistrySmartInitializingSingleton
    since 6.0 with no replacement. Register a MapJobRegistry as a bean, and it will automatically register all Job beans in the application context.
    org.springframework.batch.core.configuration.support.ReferenceJobFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.CommandLineJobRunner
    since 6.0 in favor of CommandLineJobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.JvmSystemExiter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.RuntimeExceptionTranslator
    since 6.0 with no replacement, for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SimpleJobOperator
    since 6.0 in favor of TaskExecutorJobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.TaskExecutorJobLauncher
    since 6.0 in favor of TaskExecutorJobOperator. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.AbstractJobExplorerFactoryBean
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.JdbcJobExplorerFactoryBean
    since 6.0 in favor of JdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.JobExplorerFactoryBean
    since 6.0 in favor of JdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.MongoJobExplorerFactoryBean
    since 6.0 in favor of MongoJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer
    since 6.0 in favor of SimpleJobRepository. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.support.JobRepositoryFactoryBean
    since 6.0 in favor of JdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.resource.StepExecutionSimpleCompletionPolicy
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.item.SkipWrapper
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    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.PropertiesConverter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils
    Since 6.0 in favor of JobOperatorTestUtils. Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.StepRunner
    since 6.0 in favor of JobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later
  • Deprecated Fields
    Field
    Description
    org.springframework.batch.core.listener.ChunkListener.ROLLBACK_EXCEPTION_KEY
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
  • Deprecated Methods
    Method
    Description
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.jobParametersConverterRef()
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.modular()
    since 6.0 in favor of Spring's context hierarchies and GroupAwareJobs. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.configuration.support.DefaultBatchConfiguration.getJobParametersConverter()
    since 6.0 with no replacement and scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.abandon(long)
    since 6.0 in favor of JobOperator.abandon(JobExecution). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getExecutions(long)
    Since 6.0 in favor of JobRepository.getJobExecutions(JobInstance). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getJobInstance(String, JobParameters)
    Since 6.0 in favor of JobRepository.getJobInstance(String, JobParameters). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getJobInstances(String, int, int)
    Since 6.0 in favor of JobRepository.getJobInstances(String, int, int). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getJobNames()
    since 6.0 in favor of JobRegistry.getJobNames(). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getParameters(long)
    Since 6.0 in favor of the getJobParameters() method of JobRepository.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getRunningExecutions(String)
    Since 6.0 in favor of JobRepository.findRunningJobExecutions(String). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getStepExecutionSummaries(long)
    Since 6.0 in favor of the getStepExecutions() method of JobRepository.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getSummary(long)
    Since 6.0 in favor of the toString() method of JobRepository.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.restart(long)
    since 6.0 in favor of JobOperator.restart(JobExecution). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.start(String, Properties)
    since 6.0 in favor of JobOperator.start(Job, JobParameters). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.startNextInstance(String)
    since 6.0 in favor of JobOperator.startNextInstance(Job). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.stop(long)
    since 6.0 in favor of JobOperator.stop(JobExecution). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.CommandLineJobRunner.setJobLocator(JobLocator)
    since 6.0 in favor of {CommandLineJobRunner.setJobRegistry(JobRegistry)}. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.JobOperatorFactoryBean.setJobParametersConverter(JobParametersConverter)
    since 6.0 with nor replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SimpleJobOperator.abandon(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getExecutions(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getJobInstance(String, JobParameters)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getJobInstances(String, int, int)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getJobNames()
    org.springframework.batch.core.launch.support.SimpleJobOperator.getParameters(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getRunningExecutions(String)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getStepExecutionSummaries(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.getSummary(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.restart(long)
    org.springframework.batch.core.launch.support.SimpleJobOperator.setJobParametersConverter(JobParametersConverter)
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.support.SimpleJobOperator.start(String, Properties)
    org.springframework.batch.core.launch.support.SimpleJobOperator.startNextInstance(String)
    org.springframework.batch.core.launch.support.SimpleJobOperator.stop(long)
    org.springframework.batch.core.listener.ChunkListener.afterChunk(ChunkContext)
    since 6.0, use ChunkListener.afterChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.ChunkListener.afterChunkError(ChunkContext)
    since 6.0, use ChunkListener.onChunkError(Exception,Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.ChunkListener.beforeChunk(ChunkContext)
    since 6.0, use ChunkListener.beforeChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.CompositeChunkListener.afterChunk(ChunkContext)
    since 6.0, use CompositeChunkListener.afterChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.CompositeChunkListener.afterChunkError(ChunkContext)
    since 6.0, use CompositeChunkListener.onChunkError(Exception,Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.listener.CompositeChunkListener.beforeChunk(ChunkContext)
    since 6.0, use CompositeChunkListener.beforeChunk(Chunk) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.repository.dao.jdbc.JdbcJobInstanceDao.findJobInstancesByName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use JdbcJobInstanceDao.getJobInstances(String, int, int) instead.
    org.springframework.batch.core.repository.dao.JobInstanceDao.findJobInstancesByName(String, int, int)
    Since v6.0 and scheduled for removal in v6.2. Use JobInstanceDao.getJobInstances(String, int, int)
    org.springframework.batch.core.repository.dao.mongodb.MongoJobInstanceDao.findJobInstancesByName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use MongoJobInstanceDao.getJobInstances(String, int, int) instead.
    org.springframework.batch.core.repository.explore.JobExplorer.findJobExecutions(JobInstance)
    since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobExecutions(JobInstance)
    org.springframework.batch.core.repository.explore.JobExplorer.findJobInstancesByJobName(String, int, int)
    Since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobInstances(String, int, int)
    org.springframework.batch.core.repository.explore.JobExplorer.findJobInstancesByName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobInstances(String, int, int)
    org.springframework.batch.core.repository.explore.JobExplorer.isJobInstanceExists(String, JobParameters)
    Since v6.0 and scheduled for removal in v6.2. Use JobExplorer.getJobInstance(String, JobParameters) and check for null result instead.
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.findJobExecutions(JobInstance)
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.findJobInstancesByJobName(String, int, int)
    since v6.0 and scheduled for removal in v6.2. Use SimpleJobExplorer.getJobInstances(String, int, int) instead.
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.findJobInstancesByName(String, int, int)
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.isJobInstanceExists(String, JobParameters)
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    since 6.0, use StepBuilder.chunk(int, PlatformTransactionManager) instead. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.step.job.DefaultJobParametersExtractor.setJobParametersConverter(JobParametersConverter)
    since 6.0 in favor of DefaultJobParametersExtractor.convert(Properties), scheduled for removal in 6.2 or later.
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    org.springframework.batch.item.Chunk.clearSkips()
    org.springframework.batch.item.Chunk.getErrors()
    org.springframework.batch.item.Chunk.getSkips()
    org.springframework.batch.item.Chunk.getSkipsSize()
    org.springframework.batch.item.Chunk.getUserData()
    org.springframework.batch.item.Chunk.isBusy()
    org.springframework.batch.item.Chunk.isEnd()
    org.springframework.batch.item.Chunk.setBusy(boolean)
    org.springframework.batch.item.Chunk.setEnd()
    org.springframework.batch.item.Chunk.setUserData(Object)
    org.springframework.batch.item.Chunk.skip(Exception)
    org.springframework.batch.test.JobLauncherTestUtils.launchJob()
    Since 6.0 in favor of JobOperatorTestUtils.startJob(). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchJob(JobParameters)
    Since 6.0 in favor of JobOperatorTestUtils.startJob(JobParameters). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchStep(String)
    Since 6.0 in favor of JobOperatorTestUtils.startStep(String). Scheduled for removal in 6.2 or later.
    org.springframework.batch.test.JobLauncherTestUtils.launchStep(String, JobParameters, ExecutionContext)
    Since 6.0 in favor of JobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later.
  • Deprecated Constructors
    Constructor
    Description
    org.springframework.batch.item.Chunk(List<? extends W>, List<SkipWrapper<W>>)
  • Deprecated Annotation Interface Elements
    Annotation Interface Element
    Description
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.jobParametersConverterRef()
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later
    org.springframework.batch.core.configuration.annotation.EnableBatchProcessing.modular()
    since 6.0 in favor of Spring's context hierarchies and GroupAwareJobs. Scheduled for removal in 6.2 or later.

Copyright © 2025 Spring. All rights reserved.