Uses of Class
org.springframework.batch.item.ExecutionContext
Packages that use ExecutionContext
Package
Description
Specific implementations of job concerns.
Interfaces for partitioning components.
Implementation of common partition components.
Interfaces and generic implementations of repository concerns.
Specific implementations of dao concerns.
Specific implementations of repository concerns.
Specific implementations of step concerns.
Specific implementations of step concerns for item-oriented approach.
Interfaces and generic implementations of tasklet concerns.
Components for executing item processing asynchronously and writing the results when
processing is complete.
Components for remote chunking.
Infrastructure interfaces and primary dependencies for item concerns.
Avro related reader and writer.
Infrastructure implementations of database based item readers and writers.
Infrastructure implementations of io file concerns.
Apache Kafka related readers and writers
Redis related readers and writers
Internal support package
Infrastructure implementations of xml input and output.
Utility classes for batch job/step testing.
-
Uses of ExecutionContext in org.springframework.batch.core.job
Methods in org.springframework.batch.core.job that return ExecutionContextModifier and TypeMethodDescriptionJobExecution.getExecutionContext()Returns theExecutionContextfor this execution.Methods in org.springframework.batch.core.job with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidJobExecution.setExecutionContext(ExecutionContext executionContext) Sets theExecutionContextfor this execution.voidSimpleStepHandler.setExecutionContext(ExecutionContext executionContext) A context containing values to be added to the step execution before it is handled.Constructors in org.springframework.batch.core.job with parameters of type ExecutionContextModifierConstructorDescriptionSimpleStepHandler(JobRepository jobRepository, ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.core.partition
Methods in org.springframework.batch.core.partition that return types with arguments of type ExecutionContextModifier and TypeMethodDescriptionPartitioner.partition(int gridSize) Create a set of distinctExecutionContextinstances together with a unique identifier for each one. -
Uses of ExecutionContext in org.springframework.batch.core.partition.support
Methods in org.springframework.batch.core.partition.support that return types with arguments of type ExecutionContextModifier and TypeMethodDescriptionMultiResourcePartitioner.partition(int gridSize) Assign the filename of each of the injected resources to anExecutionContext.SimplePartitioner.partition(int gridSize) -
Uses of ExecutionContext in org.springframework.batch.core.repository
Methods in org.springframework.batch.core.repository with parameters of type ExecutionContextModifier and TypeMethodDescriptiondefault JobExecutionJobRepository.createJobExecution(JobInstance jobInstance, JobParameters jobParameters, ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.core.repository.dao
Methods in org.springframework.batch.core.repository.dao that return ExecutionContextModifier and TypeMethodDescriptionExecutionContextDao.getExecutionContext(JobExecution jobExecution) ExecutionContextDao.getExecutionContext(StepExecution stepExecution) -
Uses of ExecutionContext in org.springframework.batch.core.repository.dao.jdbc
Methods in org.springframework.batch.core.repository.dao.jdbc that return ExecutionContextModifier and TypeMethodDescriptionJdbcExecutionContextDao.getExecutionContext(JobExecution jobExecution) JdbcExecutionContextDao.getExecutionContext(StepExecution stepExecution) -
Uses of ExecutionContext in org.springframework.batch.core.repository.dao.mongodb
Methods in org.springframework.batch.core.repository.dao.mongodb that return ExecutionContextModifier and TypeMethodDescriptionMongoExecutionContextDao.getExecutionContext(JobExecution jobExecution) MongoExecutionContextDao.getExecutionContext(StepExecution stepExecution) -
Uses of ExecutionContext in org.springframework.batch.core.repository.support
Methods in org.springframework.batch.core.repository.support with parameters of type ExecutionContextModifier and TypeMethodDescriptionResourcelessJobRepository.createJobExecution(JobInstance jobInstance, JobParameters jobParameters, ExecutionContext executionContext) SimpleJobRepository.createJobExecution(JobInstance jobInstance, JobParameters jobParameters, ExecutionContext executionContext) Create a newJobExecutionfor the givenJobInstanceandJobParameters, and associate the providedExecutionContextwith the newJobExecution. -
Uses of ExecutionContext in org.springframework.batch.core.step
Methods in org.springframework.batch.core.step that return ExecutionContextModifier and TypeMethodDescriptionStepExecution.getExecutionContext()Returns theExecutionContextfor this execution.Methods in org.springframework.batch.core.step with parameters of type ExecutionContextModifier and TypeMethodDescriptionprotected voidAbstractStep.close(ExecutionContext ctx) Extension point for subclasses to provide callbacks to their collaborators at the end of a step (right at the end of the finally block), to close or release resources.protected voidAbstractStep.open(ExecutionContext ctx) Extension point for subclasses to provide callbacks to their collaborators at the beginning of a step, to open or acquire resources.voidStepExecution.setExecutionContext(ExecutionContext executionContext) Sets theExecutionContextfor this execution. -
Uses of ExecutionContext in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item with parameters of type ExecutionContextModifier and TypeMethodDescriptionprotected voidChunkOrientedStep.close(ExecutionContext executionContext) voidChunkMonitor.open(ExecutionContext executionContext) Deprecated, for removal: This API element is subject to removal in a future version.protected voidChunkOrientedStep.open(ExecutionContext executionContext) voidChunkMonitor.update(ExecutionContext executionContext) Deprecated, for removal: This API element is subject to removal in a future version. -
Uses of ExecutionContext in org.springframework.batch.core.step.tasklet
Methods in org.springframework.batch.core.step.tasklet with parameters of type ExecutionContextModifier and TypeMethodDescriptionprotected voidTaskletStep.close(ExecutionContext ctx) protected voidTaskletStep.open(ExecutionContext ctx) -
Uses of ExecutionContext in org.springframework.batch.integration.async
Methods in org.springframework.batch.integration.async with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidAsyncItemWriter.open(ExecutionContext executionContext) voidAsyncItemWriter.update(ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.integration.chunk
Methods in org.springframework.batch.integration.chunk with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidChunkMessageChannelItemWriter.open(ExecutionContext executionContext) voidChunkMessageChannelItemWriter.update(ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.item
Methods in org.springframework.batch.item with parameters of type ExecutionContextModifier and TypeMethodDescriptiondefault voidItemStream.open(ExecutionContext executionContext) Open the stream for the providedExecutionContext.default voidItemStream.update(ExecutionContext executionContext) Indicates that the execution context provided during open is about to be saved.Constructors in org.springframework.batch.item with parameters of type ExecutionContextModifierConstructorDescriptionExecutionContext(ExecutionContext executionContext) Initializes a newExecutionContextwith the contents of anotherExecutionContext. -
Uses of ExecutionContext in org.springframework.batch.item.avro
Methods in org.springframework.batch.item.avro with parameters of type ExecutionContext -
Uses of ExecutionContext in org.springframework.batch.item.database
Methods in org.springframework.batch.item.database with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidJdbcPagingItemReader.open(ExecutionContext executionContext) voidJdbcPagingItemReader.update(ExecutionContext executionContext) voidJpaCursorItemReader.update(ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.item.file
Methods in org.springframework.batch.item.file with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidMultiResourceItemReader.open(ExecutionContext executionContext) Figure out which resource to start with in case of restart, open the delegate and restore delegate's position in the resource.voidMultiResourceItemWriter.open(ExecutionContext executionContext) voidResourcesItemReader.open(ExecutionContext executionContext) voidMultiResourceItemReader.update(ExecutionContext executionContext) Store the current resource index and position in the resource.voidMultiResourceItemWriter.update(ExecutionContext executionContext) voidResourcesItemReader.update(ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.item.kafka
Methods in org.springframework.batch.item.kafka with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidKafkaItemReader.open(ExecutionContext executionContext) voidKafkaItemReader.update(ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.item.redis
Methods in org.springframework.batch.item.redis with parameters of type ExecutionContext -
Uses of ExecutionContext in org.springframework.batch.item.support
Methods in org.springframework.batch.item.support with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidAbstractFileItemWriter.open(ExecutionContext executionContext) Initialize the reader.voidAbstractItemCountingItemStreamItemReader.open(ExecutionContext executionContext) voidCompositeItemReader.open(ExecutionContext executionContext) voidCompositeItemStream.open(ExecutionContext executionContext) Broadcast the call to open.voidCompositeItemWriter.open(ExecutionContext executionContext) voidSingleItemPeekableItemReader.open(ExecutionContext executionContext) If the delegate is anItemStream, just pass the call on, otherwise reset the peek cache.voidSynchronizedItemStreamReader.open(ExecutionContext executionContext) voidSynchronizedItemStreamWriter.open(ExecutionContext executionContext) voidAbstractFileItemWriter.OutputState.restoreFrom(ExecutionContext executionContext) voidAbstractFileItemWriter.update(ExecutionContext executionContext) voidAbstractItemCountingItemStreamItemReader.update(ExecutionContext executionContext) voidCompositeItemReader.update(ExecutionContext executionContext) voidCompositeItemStream.update(ExecutionContext executionContext) Simple aggregateExecutionContextprovider for the contributions registered under the given key.voidCompositeItemWriter.update(ExecutionContext executionContext) voidSingleItemPeekableItemReader.update(ExecutionContext executionContext) If there is a cached peek, then retrieve the execution context state from that point.voidSynchronizedItemStreamReader.update(ExecutionContext executionContext) voidSynchronizedItemStreamWriter.update(ExecutionContext executionContext) -
Uses of ExecutionContext in org.springframework.batch.item.xml
Methods in org.springframework.batch.item.xml with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidStaxEventItemWriter.open(ExecutionContext executionContext) Open the output sourcevoidStaxEventItemWriter.update(ExecutionContext executionContext) Get the restart data. -
Uses of ExecutionContext in org.springframework.batch.test
Methods in org.springframework.batch.test with parameters of type ExecutionContextModifier and TypeMethodDescriptionstatic StepExecutionMetaDataInstanceFactory.createStepExecution(JobParameters jobParameters, ExecutionContext executionContext) Create aStepExecutionand all its parent entities with default values, but using theExecutionContextandJobParametersprovided.static StepExecutionMetaDataInstanceFactory.createStepExecution(ExecutionContext executionContext) Create aStepExecutionand all its parent entities with default values, but using theExecutionContextprovided.JobLauncherTestUtils.launchStep(String stepName, JobParameters jobParameters, ExecutionContext jobExecutionContext) Deprecated, for removal: This API element is subject to removal in a future version.JobLauncherTestUtils.launchStep(String stepName, ExecutionContext jobExecutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Launch just the specified step in a surrounding single-step job of typeSimpleJobnamedStepRunner.JOB_NAME.StepRunner.launchStep(Step step, JobParameters jobParameters, ExecutionContext jobExecutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Launch just the specified step in a surrounding single-step job of typeSimpleJobnamedStepRunner.JOB_NAME.StepRunner.launchStep(Step step, ExecutionContext jobExecutionContext) Deprecated, for removal: This API element is subject to removal in a future version.Launch just the specified step in a surrounding single-step job of typeSimpleJobnamedStepRunner.JOB_NAME.JobOperatorTestUtils.startStep(String stepName, JobParameters jobParameters, ExecutionContext jobExecutionContext) Extract the step from the injected job and start it in a surrounding single-step job of typeSimpleJobnamedJobOperatorTestUtils.JOB_NAME.JobOperatorTestUtils.startStep(Step step, JobParameters jobParameters, ExecutionContext jobExecutionContext) Start just the specified step in a surrounding single-step job of typeSimpleJobnamedStepRunner.JOB_NAME.
JobOperatorTestUtils.startStep(String, JobParameters, ExecutionContext).