Deprecated API
Contents
- Terminally Deprecated
- Interfaces
- Classes
- Exception Classes
- Fields
- Methods
- Constructors
- Enum Constants
- Annotation Interface Elements
-
Terminally Deprecated ElementsElementDescriptionsince 6.0 with no replacement. Scheduled for removal in 6.2 or latersince 6.0 in favor of Spring's context hierarchies and
GroupAwareJobs. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobRegistry. Scheduled for removal in 6.2 or later.since 6.0, scheduled for removal in 6.2 or later. UseJobRegistryinstead.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement and scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Register aMapJobRegistryas a bean, and it will automatically register allJobbeans in the application context.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.usegetJobInstance()instead to get the instance id. Scheduled for removal in version 7.0.in favor ofEntity.getId()as of 6.0 in favor ofJobRestartExceptionwith a specific message. Scheduled for removal in 6.2.as of 6.0 in favor ofJobExecutionAlreadyRunningException. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 in favor ofJobOperator. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.abandon(JobExecution). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.getJobExecutions(JobInstance). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.getJobInstance(String, JobParameters). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.findJobInstances(String). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobRegistry.getJobNames(). Scheduled for removal in 6.2 or later.Since 6.0 in favor of thegetJobParameters()method ofJobRepository.getJobExecution(long). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.findRunningJobExecutions(String). Scheduled for removal in 6.2 or later.Since 6.0 in favor of thegetStepExecutions()method ofJobRepository.getJobExecution(long). Scheduled for removal in 6.2 or later.Since 6.0 in favor of thetoString()method ofJobRepository.getJobExecution(long). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.restart(JobExecution). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.start(Job, JobParameters). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.startNextInstance(Job). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.stop(JobExecution). Scheduled for removal in 6.2 or later.since 6.0 with not replacement. Scheduled for removal in 6.2 or later.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 in favor ofCommandLineJobOperator. Scheduled for removal in 6.2 or later.since 6.0 in favor of {CommandLineJobRunner.setJobRegistry(JobRegistry)}. Scheduled for removal in 6.2 or later.since 6.0 with nor replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement, for removal in 6.2 or later.since 6.0 in favor ofTaskExecutorJobOperator. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 in favor ofTaskExecutorJobOperator. Scheduled for removal in 6.2 or later.since 6.0, useChunkListener.afterChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useChunkListener.onChunkError(Exception,Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useChunkListener.beforeChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0, useCompositeChunkListener.afterChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useCompositeChunkListener.onChunkError(Exception,Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useCompositeChunkListener.beforeChunk(Chunk)instead. Scheduled for removal in 6.2 or later.as of 6.0 with no replacement. Scheduled for removal in 6.2.Since 6.0 in favor ofJacksonExecutionContextStringSerializer. Scheduled for removal in 7.0.since v6.0 and scheduled for removal in v6.2. UseJdbcJobInstanceDao.getJobInstances(String, int, int)instead.since 6.1 in favor ofJdbcJobInstanceDao.countJobInstances(String). Scheduled for removal in 7.0.Since v6.0 and scheduled for removal in v6.2. UseJobInstanceDao.getJobInstances(String)since 6.1 in favor ofJobInstanceDao.countJobInstances(String). This DAO has no access to the registry of known jobs, so it cannot soundly determine whether a job name is unknown as opposed to simply never having been persisted yet. Scheduled for removal in 7.0.since v6.0 and scheduled for removal in v6.2. UseMongoJobInstanceDao.getJobInstances(String, int, int)instead.since 6.1 in favor ofMongoJobInstanceDao.countJobInstances(String). Scheduled for removal in 7.0.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 in favor ofStepExecutionDao.getStepExecution(long)since 6.0 in favor ofJobRepository. Scheduled for removal in 6.2 or later.since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobExecutions(JobInstance)Since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobInstances(String, int, int)since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobInstances(String, int, int)since 6.1 in favor ofJobExplorer.countJobInstances(String).since 6.1 in favor ofJobExplorer.countStepExecutions(JobInstance, String).Since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobInstance(String, JobParameters)and check fornullresult instead.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 in favor ofMongoJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 in favor ofSimpleJobRepository. Scheduled for removal in 6.2 or later.since v6.0 and scheduled for removal in v6.2. UseSimpleJobExplorer.getJobInstances(String, int, int)instead.since 6.1 in favor ofSimpleJobExplorer.countJobInstances(String).since 6.1 in favor ofSimpleJobExplorer.countStepExecutions(JobInstance, String).since 6.1 in favor ofJobRepository.countJobInstances(String). The job repository has no access to the registry of known jobs, so it cannot soundly determine whether a job name is unknown as opposed to simply never having been persisted yet; validating that a job name is known is a concern of the job operator at start/restart time. Scheduled for removal in 7.0.since 6.0 in favor ofJobRepository.getStepExecution(long)since 6.1 in favor ofJobRepository.countStepExecutions(JobInstance, String). The job repository has no access to the job's step definitions, so it cannot soundly determine whether a step name is unknown as opposed to simply never having run yet for this job instance. Scheduled for removal in 7.0.since 6.0 in favor ofJdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.1 in favor ofResourcelessJobRepository.countJobInstances(String). Scheduled for removal in 7.0.since 6.1 in favor ofResourcelessJobRepository.countStepExecutions(JobInstance, String). Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.1, scheduled for removal in 7.0. UseBatchConstants.BATCH_VERSIONinstead.since 6.0 for removal in 7.0. UseAbstractStep(JobRepository)instead.since 6.0 for removal in 7.0. UseAbstractStep(JobRepository)instead.Since 6.0 with no replacement and scheduled for removal in v7.Since 6.0, concurrent executions ofTasklets withTaskExecutorRepeatTemplateis deprecated and scheduled for removal in v7. Concurrency support for chunk-oriented steps is provided throughChunkOrientedStepBuilder.taskExecutor(AsyncTaskExecutor). For simple tasklet steps, consider using aTaskExecutoron the tasklet implementation instead.Since 6.0, useChunkOrientedStepBuilderinstead. Scheduled for removal in 7.0.Since 6.0 in favor ofChunkOrientedStepBuilder. Scheduled for removal in 7.0.since 6.0, useStepBuilder.chunk(int)instead. Scheduled for removal in 7.0.since 6.0, useStepBuilder.chunk(int)instead. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 in favor of equals/hashcode in a wrapper type if needed. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 7.0.since 6.0 in favor ofDefaultJobParametersExtractor.convert(Properties), scheduled for removal in 6.2 or later.Since 6.0, useLimitCheckingExceptionHierarchySkipPolicyinstead. Scheduled for removal in 7.0.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.1, scheduled for removal in 7.0. UseBatchConstants.BATCH_STEP_TYPEinstead.useStepExecution.getJobExecution()instead to get the job execution id. Scheduled for removal in version 7.0.useStepExecution.getJobExecution()instead to get the job execution parameters. Scheduled for removal in version 7.0.since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0, useStoppableTasklet.stop(StepExecution)instead.since 6.0 for removal in 7.0. UseTaskletStep(JobRepository)instead.since 6.0 for removal in 7.0. UseTaskletStep(JobRepository)instead.since 6.1, scheduled for removal in 7.0. UseBatchConstants.BATCH_TASKLET_TYPEinstead.since 6.1 in favor of passing the target type to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the target type to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the repository to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing sorts to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the repository to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the data source to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the row mapper to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the SQL query to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the data source to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the paging query provider to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the entity manager factory to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the entity manager factory to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the entity manager factory to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the procedure name to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the row mapper to the constructor. Scheduled for removal in 7.0.since 6.1.0 with no replacement. Scheduled for removal in 7.0.0.as of 6.1.0 in favor ofMultiResourceItemReaderBuilder.strict(boolean)since 6.1 in favor of passing the line mapper to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the line aggregator to the constructor. Scheduled for removal in 7.0.as of 6.0, scheduled for removal in 6.2 or later.since 6.1 in favor of passing the JMS template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the JMS template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the json object reader to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the kafka template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the item key mapper to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the mail sender to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the redis template to the constructor. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 7.0.since 6.1 in favor of passing the unmarshaller to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the marshaller to the constructor. Scheduled for removal in 7.0.since 5.0 with no replacement. Scheduled for removal in 7.0.since 6.0 with no replacement, scheduled for removal in 7.0.since 5.0 with no replacement. Scheduled for removal in 7.0.since 6.1.0 with no replacement. Scheduled for removal in 7.0.0.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils. Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startJob(). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startJob(JobParameters). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startStep(String). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later
-
Deprecated InterfacesInterfaceDescriptionsince 6.0 in favor of
JobRegistry. Scheduled for removal in 6.2 or later.since 6.0, scheduled for removal in 6.2 or later. UseJobRegistryinstead.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobRepository. Scheduled for removal in 6.2 or later.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 in favor of equals/hashcode in a wrapper type if needed. Scheduled for removal in 7.0.
-
Deprecated ClassesClassDescriptionsince 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Register a
MapJobRegistryas a bean, and it will automatically register allJobbeans in the application context.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.1.0 in favor ofConversionServiceFactory.createConversionService(). Scheduled for removal in 7.0.0.since 6.0 in favor ofCommandLineJobOperator. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement, for removal in 6.2 or later.since 6.0 in favor ofTaskExecutorJobOperator. Scheduled for removal in 6.2 or later.since 6.0 in favor ofTaskExecutorJobOperator. Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJacksonExecutionContextStringSerializer. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 in favor ofMongoJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 in favor ofSimpleJobRepository. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJdbcJobRepositoryFactoryBean. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.Since 6.0, useChunkOrientedStepBuilderinstead. Scheduled for removal in 7.0.Since 6.0 in favor ofChunkOrientedStepBuilder. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0 with no replacement. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useChunkOrientedStepinstead. Scheduled for removal in 7.0.Since 6.0, useLimitCheckingExceptionHierarchySkipPolicyinstead. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 7.0.since 6.1.0 with no replacement. Scheduled for removal in 7.0.0.since 6.0 with no replacement. Scheduled for removal in 7.0.since 5.0 with no replacement. Scheduled for removal in 7.0.since 6.0 with no replacement, scheduled for removal in 7.0.since 5.0 with no replacement. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.1 in favor ofAsyncItemProcessorsince 6.1 in favor ofAsyncItemWritersince 6.1 in favor ofChunkTaskExecutorItemWriterSince 6.0 in favor ofJobOperatorTestUtils. Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later
-
Deprecated Exception ClassesException ClassDescriptionas of 6.0 in favor of
JobRestartExceptionwith a specific message. Scheduled for removal in 6.2.as of 6.0 in favor ofJobExecutionAlreadyRunningException. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 with not replacement. Scheduled for removal in 6.2 or later.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.since 6.0 with no replacement. Scheduled for removal in 7.0.since 6.0 with no replacement. Scheduled for removal in 7.0.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0 with no replacement. Scheduled for removal in 6.2.as of 6.0, scheduled for removal in 6.2 or later.
-
Deprecated FieldsFieldDescriptionsince 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.1, scheduled for removal in 7.0. Use
BatchConstants.BATCH_VERSIONinstead.since 6.1, scheduled for removal in 7.0. UseBatchConstants.BATCH_STEP_TYPEinstead.since 6.1, scheduled for removal in 7.0. UseBatchConstants.BATCH_TASKLET_TYPEinstead.
-
Deprecated MethodsMethodDescriptionsince 6.0 with no replacement. Scheduled for removal in 6.2 or latersince 6.0 in favor of Spring's context hierarchies and
GroupAwareJobs. Scheduled for removal in 6.2 or later.since 6.0 with no replacement and scheduled for removal in 6.2 or later.usegetJobInstance()instead to get the instance id. Scheduled for removal in version 7.0.in favor ofEntity.getId()since 6.0 in favor ofJobOperator.abandon(JobExecution). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.getJobExecutions(JobInstance). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.getJobInstance(String, JobParameters). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.findJobInstances(String). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobRegistry.getJobNames(). Scheduled for removal in 6.2 or later.Since 6.0 in favor of thegetJobParameters()method ofJobRepository.getJobExecution(long). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobRepository.findRunningJobExecutions(String). Scheduled for removal in 6.2 or later.Since 6.0 in favor of thegetStepExecutions()method ofJobRepository.getJobExecution(long). Scheduled for removal in 6.2 or later.Since 6.0 in favor of thetoString()method ofJobRepository.getJobExecution(long). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.restart(JobExecution). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.start(Job, JobParameters). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.startNextInstance(Job). Scheduled for removal in 6.2 or later.since 6.0 in favor ofJobOperator.stop(JobExecution). Scheduled for removal in 6.2 or later.since 6.0 in favor of {CommandLineJobRunner.setJobRegistry(JobRegistry)}. Scheduled for removal in 6.2 or later.since 6.0 with nor replacement. Scheduled for removal in 6.2 or later.since 6.0 with no replacement. Scheduled for removal in 6.2 or later.since 6.0, useChunkListener.afterChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useChunkListener.onChunkError(Exception,Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useChunkListener.beforeChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useCompositeChunkListener.afterChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useCompositeChunkListener.onChunkError(Exception,Chunk)instead. Scheduled for removal in 6.2 or later.since 6.0, useCompositeChunkListener.beforeChunk(Chunk)instead. Scheduled for removal in 6.2 or later.since v6.0 and scheduled for removal in v6.2. UseJdbcJobInstanceDao.getJobInstances(String, int, int)instead.since 6.1 in favor ofJdbcJobInstanceDao.countJobInstances(String). Scheduled for removal in 7.0.Since v6.0 and scheduled for removal in v6.2. UseJobInstanceDao.getJobInstances(String)since 6.1 in favor ofJobInstanceDao.countJobInstances(String). This DAO has no access to the registry of known jobs, so it cannot soundly determine whether a job name is unknown as opposed to simply never having been persisted yet. Scheduled for removal in 7.0.since v6.0 and scheduled for removal in v6.2. UseMongoJobInstanceDao.getJobInstances(String, int, int)instead.since 6.1 in favor ofMongoJobInstanceDao.countJobInstances(String). Scheduled for removal in 7.0.since 6.0 in favor ofStepExecutionDao.getStepExecution(long)since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobExecutions(JobInstance)Since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobInstances(String, int, int)since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobInstances(String, int, int)since 6.1 in favor ofJobExplorer.countJobInstances(String).since 6.1 in favor ofJobExplorer.countStepExecutions(JobInstance, String).Since v6.0 and scheduled for removal in v6.2. UseJobExplorer.getJobInstance(String, JobParameters)and check fornullresult instead.since v6.0 and scheduled for removal in v6.2. UseSimpleJobExplorer.getJobInstances(String, int, int)instead.since 6.1 in favor ofSimpleJobExplorer.countJobInstances(String).since 6.1 in favor ofSimpleJobExplorer.countStepExecutions(JobInstance, String).since 6.1 in favor ofJobRepository.countJobInstances(String). The job repository has no access to the registry of known jobs, so it cannot soundly determine whether a job name is unknown as opposed to simply never having been persisted yet; validating that a job name is known is a concern of the job operator at start/restart time. Scheduled for removal in 7.0.since 6.0 in favor ofJobRepository.getStepExecution(long)since 6.1 in favor ofJobRepository.countStepExecutions(JobInstance, String). The job repository has no access to the job's step definitions, so it cannot soundly determine whether a step name is unknown as opposed to simply never having run yet for this job instance. Scheduled for removal in 7.0.since 6.1 in favor ofResourcelessJobRepository.countJobInstances(String). Scheduled for removal in 7.0.since 6.1 in favor ofResourcelessJobRepository.countStepExecutions(JobInstance, String). Scheduled for removal in 7.0.Since 6.0 with no replacement and scheduled for removal in v7.Since 6.0, concurrent executions ofTasklets withTaskExecutorRepeatTemplateis deprecated and scheduled for removal in v7. Concurrency support for chunk-oriented steps is provided throughChunkOrientedStepBuilder.taskExecutor(AsyncTaskExecutor). For simple tasklet steps, consider using aTaskExecutoron the tasklet implementation instead.since 6.0, useStepBuilder.chunk(int)instead. Scheduled for removal in 7.0.since 6.0, useStepBuilder.chunk(int)instead. Scheduled for removal in 7.0.since 6.0 in favor ofDefaultJobParametersExtractor.convert(Properties), scheduled for removal in 6.2 or later.useStepExecution.getJobExecution()instead to get the job execution id. Scheduled for removal in version 7.0.useStepExecution.getJobExecution()instead to get the job execution parameters. Scheduled for removal in version 7.0.Since 6.0, useStoppableTasklet.stop(StepExecution)instead.since 6.1 in favor of passing the target type to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the target type to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the repository to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing sorts to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the repository to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the data source to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the row mapper to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the SQL query to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the data source to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the paging query provider to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the entity manager factory to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the entity manager factory to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the entity manager factory to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the procedure name to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the row mapper to the constructor. Scheduled for removal in 7.0.as of 6.1.0 in favor ofMultiResourceItemReaderBuilder.strict(boolean)since 6.1 in favor of passing the line mapper to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the line aggregator to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the JMS template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the JMS template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the json object reader to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the kafka template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the item key mapper to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the mail sender to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the redis template to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the unmarshaller to the constructor. Scheduled for removal in 7.0.since 6.1 in favor of passing the marshaller to the constructor. Scheduled for removal in 7.0.Since 6.0 in favor ofJobOperatorTestUtils.startJob(). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startJob(JobParameters). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startStep(String). Scheduled for removal in 6.2 or later.Since 6.0 in favor ofJobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext). Scheduled for removal in 6.2 or later.
-
Deprecated ConstructorsConstructorDescriptionsince 6.0 for removal in 7.0. Use
AbstractStep(JobRepository)instead.since 6.0 for removal in 7.0. UseAbstractStep(JobRepository)instead.since 6.0 for removal in 7.0. UseTaskletStep(JobRepository)instead.since 6.0 for removal in 7.0. UseTaskletStep(JobRepository)instead.
-
Deprecated Enum ConstantsEnum ConstantDescriptionsince 6.1.0 with no replacement. Scheduled for removal in 7.0.0.
-
Deprecated Annotation Interface ElementsAnnotation Interface ElementDescriptionsince 6.0 with no replacement. Scheduled for removal in 6.2 or latersince 6.0 in favor of Spring's context hierarchies and
GroupAwareJobs. Scheduled for removal in 6.2 or later.