Uses of Class
org.springframework.batch.core.scope.context.StepContext
Packages that use StepContext
Package
Description
Implementation of the contexts for each of the custom bean scopes in Spring Batch (Job
and Step).
-
Uses of StepContext in org.springframework.batch.core.scope.context
Methods in org.springframework.batch.core.scope.context that return StepContextModifier and TypeMethodDescriptionstatic StepContext
StepSynchronizationManager.getContext()
Getter for the current context if there is one, otherwise returnsnull
.ChunkContext.getStepContext()
static StepContext
StepSynchronizationManager.register
(StepExecution stepExecution) Register a context with the current thread - always put a matchingStepSynchronizationManager.close()
call in a finally block to ensure that the correct context is available in the enclosing block.Constructors in org.springframework.batch.core.scope.context with parameters of type StepContext