Uses of Class
org.springframework.batch.item.ExecutionContext
Packages that use ExecutionContext
Package
Description
Core domain context for Spring Batch covering jobs, steps, configuration and execution
abstractions.
Specific implementations of job concerns.
Implementation of common partition components.
Specific implementations of dao 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.
Infrastructure implementations of database based item readers and writers.
Infrastructure implementations of io file concerns.
Apache Kafka 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
Methods in org.springframework.batch.core that return ExecutionContextModifier and TypeMethodDescriptionJobExecution.getExecutionContext()Returns theExecutionContextfor this execution.StepExecution.getExecutionContext()Returns theExecutionContextfor this execution.Methods in org.springframework.batch.core with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidJobExecution.setExecutionContext(ExecutionContext executionContext) Sets theExecutionContextfor this execution.voidStepExecution.setExecutionContext(ExecutionContext executionContext) Sets theExecutionContextfor this execution. -
Uses of ExecutionContext in org.springframework.batch.core.job
Methods in org.springframework.batch.core.job with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidSimpleStepHandler.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.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.Partitioner.partition(int gridSize) Create a set of distinctExecutionContextinstances together with a unique identifier for each one.SimplePartitioner.partition(int gridSize) Methods in org.springframework.batch.core.partition.support with parameters of type ExecutionContextModifier and TypeMethodDescriptionprotected booleanSimpleStepExecutionSplitter.isStartable(StepExecution stepExecution, ExecutionContext context) Check if a step execution is startable. -
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) JdbcExecutionContextDao.getExecutionContext(JobExecution jobExecution) JdbcExecutionContextDao.getExecutionContext(StepExecution stepExecution) -
Uses of ExecutionContext in org.springframework.batch.core.step
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. -
Uses of ExecutionContext in org.springframework.batch.core.step.item
Methods in org.springframework.batch.core.step.item with parameters of type ExecutionContextModifier and TypeMethodDescriptionvoidChunkMonitor.open(ExecutionContext executionContext) voidChunkMonitor.update(ExecutionContext executionContext) -
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 TypeMethodDescriptionvoidItemStream.open(ExecutionContext executionContext) Open the stream for the providedExecutionContext.voidItemStreamSupport.open(ExecutionContext executionContext) No-op.voidItemStream.update(ExecutionContext executionContext) Indicates that the execution context provided during open is about to be saved.voidItemStreamSupport.update(ExecutionContext executionContext) Return emptyExecutionContext.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) voidHibernateCursorItemReader.update(ExecutionContext executionContext) Deprecated, for removal: This API element is subject to removal in a future version.Update the context and clear the session if stateful.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.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) 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) 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) Launch just the specified step in the job.JobLauncherTestUtils.launchStep(String stepName, ExecutionContext jobExecutionContext) Launch just the specified step in the job.StepRunner.launchStep(Step step, JobParameters jobParameters, ExecutionContext jobExecutionContext) Launch just the specified step as its own job.StepRunner.launchStep(Step step, ExecutionContext jobExecutionContext) Launch just the specified step as its own job.