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

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Methods
  • 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 JobExplorer.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 JobExplorer.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 JobExplorer.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 JobExplorer.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getRunningExecutions(String)
    Since 6.0 in favor of JobExplorer.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 JobExplorer.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 JobExplorer.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 with no replacement. 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.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)
    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.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.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.
  • 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 with no 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.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.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.
  • 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 JobExplorer.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 JobExplorer.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 JobExplorer.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 JobExplorer.getJobExecution(Long). Scheduled for removal in 6.2 or later.
    org.springframework.batch.core.launch.JobOperator.getRunningExecutions(String)
    Since 6.0 in favor of JobExplorer.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 JobExplorer.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 JobExplorer.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.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)
    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.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)
  • 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.