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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Exceptions
  • 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.StepRegistry
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.MapStepRegistry
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.JobExecutionNotFailedException
    as of 6.0 in favor of JobRestartException with a specific message. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.JobExecutionNotStoppedException
    as of 6.0 in favor of JobExecutionAlreadyRunningException. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.JobInstanceAlreadyExistsException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.findJobInstances(String). 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.JobParametersNotFoundException
    since 6.0 with not replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.NoSuchJobExecutionException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.NoSuchJobInstanceException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.listener.StepListenerFailedException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.jdbc.JdbcStepExecutionDao.getStepExecution(JobExecution, long)
    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)
    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.dao.mongodb.MongoStepExecutionDao.getStepExecution(JobExecution, long)
    org.springframework.batch.core.repository.dao.NoSuchObjectException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.repository.dao.StepExecutionDao.getStepExecution(JobExecution, long)
    since 6.0 in favor of StepExecutionDao.getStepExecution(long)
    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.getStepExecution(long, long)
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.isJobInstanceExists(String, JobParameters)
    org.springframework.batch.core.repository.JobRepository.getStepExecution(long, long)
    since 6.0 in favor of JobRepository.getStepExecution(long)
    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.repository.support.ResourcelessJobRepository.getStepExecution(long, long)
    org.springframework.batch.core.repository.support.ResourcelessJobRepository.isJobInstanceExists(String, JobParameters)
    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.AbstractStep()
    since 6.0 for removal in 7.0. Use AbstractStep(JobRepository) instead.
    org.springframework.batch.core.step.AbstractStep(String)
    since 6.0 for removal in 7.0. Use AbstractStep(JobRepository) instead.
    org.springframework.batch.core.step.builder.FaultTolerantStepBuilder
    Since 6.0, use ChunkOrientedStepBuilder instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.builder.SimpleStepBuilder
    Since 6.0 in favor of ChunkOrientedStepBuilder. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.builder.StepBuilder.chunk(int, PlatformTransactionManager)
    since 6.0, use StepBuilder.chunk(int) instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    since 6.0, use StepBuilder.chunk(int) instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.factory.FaultTolerantStepFactoryBean
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.factory.SimpleStepFactoryBean
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.BatchRetryTemplate
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ChunkMonitor
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ChunkOrientedTasklet
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ChunkProcessor.process(StepContribution, Chunk<I>)
    org.springframework.batch.core.step.item.ChunkProvider
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.DefaultItemFailureHandler
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.FaultTolerantChunkProcessor
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.FaultTolerantChunkProvider
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ForceRollbackForWriteSkipException
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.KeyGenerator
    Since 6.0 in favor of equals/hashcode in a wrapper type if needed. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SimpleChunkProcessor
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SimpleChunkProvider
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SimpleRetryExceptionHandler
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SkipOverflowException
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    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.core.step.skip.LimitCheckingItemSkipPolicy
    Since 6.0, use LimitCheckingExceptionHierarchySkipPolicy instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.skip.SkipListenerFailedException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.step.skip.SkipPolicyFailedException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.step.StepExecution(String, JobExecution)
    org.springframework.batch.core.step.StepLocatorStepFactoryBean
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.tasklet.StoppableTasklet.stop()
    Since 6.0, use StoppableTasklet.stop(StepExecution) instead.
    org.springframework.batch.core.step.tasklet.TaskletStep()
    since 6.0 for removal in 7.0. Use TaskletStep(JobRepository) instead.
    org.springframework.batch.core.step.tasklet.TaskletStep(String)
    since 6.0 for removal in 7.0. Use TaskletStep(JobRepository) instead.
    org.springframework.batch.infrastructure.item.Chunk(List<? extends W>, List<SkipWrapper<W>>)
    org.springframework.batch.infrastructure.item.Chunk.clearSkips()
    org.springframework.batch.infrastructure.item.Chunk.getErrors()
    org.springframework.batch.infrastructure.item.Chunk.getSkips()
    org.springframework.batch.infrastructure.item.Chunk.getSkipsSize()
    org.springframework.batch.infrastructure.item.Chunk.getUserData()
    org.springframework.batch.infrastructure.item.Chunk.isBusy()
    org.springframework.batch.infrastructure.item.Chunk.isEnd()
    org.springframework.batch.infrastructure.item.Chunk.setBusy(boolean)
    org.springframework.batch.infrastructure.item.Chunk.setEnd()
    org.springframework.batch.infrastructure.item.Chunk.setUserData(Object)
    org.springframework.batch.infrastructure.item.Chunk.skip(Exception)
    org.springframework.batch.infrastructure.item.file.transform.ConversionException
    as of 6.0, scheduled for removal in 6.2 or later.
    org.springframework.batch.infrastructure.item.SkipWrapper
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.infrastructure.repeat.support.ResultHolderResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.infrastructure.repeat.support.ThrottleLimitResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.infrastructure.support.PropertiesConverter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.infrastructure.support.transaction.TransactionAwareProxyFactory
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    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.StepRegistry
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.
    org.springframework.batch.core.step.item.ChunkProvider
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.KeyGenerator
    Since 6.0 in favor of equals/hashcode in a wrapper type if needed. Scheduled for removal in 7.0.
  • 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.MapStepRegistry
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    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.core.step.builder.FaultTolerantStepBuilder
    Since 6.0, use ChunkOrientedStepBuilder instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.builder.SimpleStepBuilder
    Since 6.0 in favor of ChunkOrientedStepBuilder. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.factory.FaultTolerantStepFactoryBean
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.factory.SimpleStepFactoryBean
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.BatchRetryTemplate
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ChunkMonitor
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ChunkOrientedTasklet
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.DefaultItemFailureHandler
    Since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.FaultTolerantChunkProcessor
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.FaultTolerantChunkProvider
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SimpleChunkProcessor
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SimpleChunkProvider
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SimpleRetryExceptionHandler
    Since 6.0, use ChunkOrientedStep instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.skip.LimitCheckingItemSkipPolicy
    Since 6.0, use LimitCheckingExceptionHierarchySkipPolicy instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.StepLocatorStepFactoryBean
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.infrastructure.item.SkipWrapper
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.infrastructure.repeat.support.ResultHolderResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.infrastructure.repeat.support.ThrottleLimitResultQueue
    since 5.0 with no replacement. Scheduled for removal in 6.0.
    org.springframework.batch.infrastructure.support.PropertiesConverter
    since 6.0 with no replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.infrastructure.support.transaction.TransactionAwareProxyFactory
    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 Exceptions
    Exceptions
    Description
    org.springframework.batch.core.launch.JobExecutionNotFailedException
    as of 6.0 in favor of JobRestartException with a specific message. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.JobExecutionNotStoppedException
    as of 6.0 in favor of JobExecutionAlreadyRunningException. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.JobInstanceAlreadyExistsException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.JobParametersNotFoundException
    since 6.0 with not replacement. Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.NoSuchJobExecutionException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.launch.NoSuchJobInstanceException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.listener.StepListenerFailedException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.repository.dao.NoSuchObjectException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.step.item.ForceRollbackForWriteSkipException
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.SkipOverflowException
    since 6.0 with no replacement. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.skip.SkipListenerFailedException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.core.step.skip.SkipPolicyFailedException
    as of 6.0 with no replacement. Scheduled for removal in 6.2.
    org.springframework.batch.infrastructure.item.file.transform.ConversionException
    as of 6.0, 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.findJobInstances(String). 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.jdbc.JdbcStepExecutionDao.getStepExecution(JobExecution, long)
    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)
    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.dao.mongodb.MongoStepExecutionDao.getStepExecution(JobExecution, long)
    org.springframework.batch.core.repository.dao.StepExecutionDao.getStepExecution(JobExecution, long)
    since 6.0 in favor of StepExecutionDao.getStepExecution(long)
    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.getStepExecution(long, long)
    org.springframework.batch.core.repository.explore.support.SimpleJobExplorer.isJobInstanceExists(String, JobParameters)
    org.springframework.batch.core.repository.JobRepository.getStepExecution(long, long)
    since 6.0 in favor of JobRepository.getStepExecution(long)
    org.springframework.batch.core.repository.support.ResourcelessJobRepository.getStepExecution(long, long)
    org.springframework.batch.core.repository.support.ResourcelessJobRepository.isJobInstanceExists(String, JobParameters)
    org.springframework.batch.core.step.builder.StepBuilder.chunk(int, PlatformTransactionManager)
    since 6.0, use StepBuilder.chunk(int) instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.builder.StepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    since 6.0, use StepBuilder.chunk(int) instead. Scheduled for removal in 7.0.
    org.springframework.batch.core.step.item.ChunkProcessor.process(StepContribution, Chunk<I>)
    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.core.step.tasklet.StoppableTasklet.stop()
    Since 6.0, use StoppableTasklet.stop(StepExecution) instead.
    org.springframework.batch.infrastructure.item.Chunk.clearSkips()
    org.springframework.batch.infrastructure.item.Chunk.getErrors()
    org.springframework.batch.infrastructure.item.Chunk.getSkips()
    org.springframework.batch.infrastructure.item.Chunk.getSkipsSize()
    org.springframework.batch.infrastructure.item.Chunk.getUserData()
    org.springframework.batch.infrastructure.item.Chunk.isBusy()
    org.springframework.batch.infrastructure.item.Chunk.isEnd()
    org.springframework.batch.infrastructure.item.Chunk.setBusy(boolean)
    org.springframework.batch.infrastructure.item.Chunk.setEnd()
    org.springframework.batch.infrastructure.item.Chunk.setUserData(Object)
    org.springframework.batch.infrastructure.item.Chunk.skip(Exception)
    org.springframework.batch.integration.partition.RemotePartitioningWorkerStepBuilder.chunk(CompletionPolicy, PlatformTransactionManager)
    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.core.step.AbstractStep()
    since 6.0 for removal in 7.0. Use AbstractStep(JobRepository) instead.
    org.springframework.batch.core.step.AbstractStep(String)
    since 6.0 for removal in 7.0. Use AbstractStep(JobRepository) instead.
    org.springframework.batch.core.step.StepExecution(String, JobExecution)
    org.springframework.batch.core.step.tasklet.TaskletStep()
    since 6.0 for removal in 7.0. Use TaskletStep(JobRepository) instead.
    org.springframework.batch.core.step.tasklet.TaskletStep(String)
    since 6.0 for removal in 7.0. Use TaskletStep(JobRepository) instead.
    org.springframework.batch.infrastructure.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.