# Uses of Interface
org.springframework.batch.repeat.RepeatCallback

Packages that use RepeatCallback
Package
Description
org.springframework.batch.core.scope.context
Implementation of the contexts for each of the custom bean scopes in Spring Batch (Job and Step).
org.springframework.batch.repeat
Infrastructure implementations of repeat concerns.
org.springframework.batch.repeat.callback
Infrastructure implementations of repeat callback concerns.
org.springframework.batch.repeat.support
Infrastructure implementations of repeat support concerns.

- ## Uses of RepeatCallback in org.springframework.batch.core.scope.context

  Classes in org.springframework.batch.core.scope.context that implement RepeatCallback
  Modifier and Type
  Class
  Description
  `class`
  `StepContextRepeatCallback`
  Convenient base class for clients who need to do something in a repeat callback inside a `Step`.

- ## Uses of RepeatCallback in org.springframework.batch.repeat

  Methods in org.springframework.batch.repeat with parameters of type RepeatCallback
  Modifier and Type
  Method
  Description
  `RepeatStatus`
  RepeatOperations.`iterate(RepeatCallback callback)`
  Execute the callback repeatedly, until a decision can be made to complete.

- ## Uses of RepeatCallback in org.springframework.batch.repeat.callback

  Classes in org.springframework.batch.repeat.callback that implement RepeatCallback
  Modifier and Type
  Class
  Description
  `class`
  `NestedRepeatCallback`
  Callback that delegates to another callback, via a `RepeatOperations` instance.
  Constructors in org.springframework.batch.repeat.callback with parameters of type RepeatCallback
  Modifier
  Constructor
  Description
  ``
  `NestedRepeatCallback(RepeatOperations template, RepeatCallback callback)`
  Constructor setting mandatory fields.

- ## Uses of RepeatCallback in org.springframework.batch.repeat.support

  Methods in org.springframework.batch.repeat.support with parameters of type RepeatCallback
  Modifier and Type
  Method
  Description
  `protected RepeatStatus`
  RepeatTemplate.`getNextResult(RepeatContext context, RepeatCallback callback, RepeatInternalState state)`
  Get the next completed result, possibly executing several callbacks until one finally finishes.
  `protected RepeatStatus`
  TaskExecutorRepeatTemplate.`getNextResult(RepeatContext context, RepeatCallback callback, RepeatInternalState state)`
  Use the `TaskExecutorRepeatTemplate.setTaskExecutor(TaskExecutor)` to generate a result.
  `RepeatStatus`
  RepeatTemplate.`iterate(RepeatCallback callback)`
  Execute the batch callback until the completion policy decides that we are finished.