Summer.Batch.Core.Scope.Context.StepContextRepeatCallback Class Reference
Convenient base class for clients who need to do something in a repeat callback inside a IStep. More...
Static Public Member Functions | |
static RepeatCallback | GetRepeatCallback (StepExecution stepExecution, DoInChunkContext doInChunkContext) |
Manage the StepContext lifecycle. Business processing should be delegated to DoInChunkContext. This is to ensure that the current thread has a reference to the context, even if the callback is executed in a pooled thread. Handles the registration and unregistration of the step context, so clients should not duplicate those calls. More... | |
Detailed Description
Convenient base class for clients who need to do something in a repeat callback inside a IStep.
Member Function Documentation
|
static |
Manage the StepContext lifecycle. Business processing should be delegated to DoInChunkContext. This is to ensure that the current thread has a reference to the context, even if the callback is executed in a pooled thread. Handles the registration and unregistration of the step context, so clients should not duplicate those calls.
- Parameters
-
stepExecution doInChunkContext
- Returns
The documentation for this class was generated from the following file:
- Summer.Batch.Core/Core/Scope/Context/StepContextRepeatCallback.cs