Method | Description | |
---|---|---|
GetRepeatCallback ( StepExecution stepExecution, DoInChunkContext doInChunkContext ) : RepeatCallback |
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.
|
public static GetRepeatCallback ( StepExecution stepExecution, DoInChunkContext doInChunkContext ) : RepeatCallback | ||
stepExecution | StepExecution | |
doInChunkContext | DoInChunkContext | |
return | RepeatCallback |