org.springframework.batch.core.jsr.step.item

## Class JsrChunkProvider<T>

- java.lang.Object
- - org.springframework.batch.core.jsr.step.item.JsrChunkProvider<T>

- Type Parameters:
    `T` - The type of input for the step
  All Implemented Interfaces:
    ChunkProvider<T>

      public class JsrChunkProvider<T>
      extends java.lang.Object
      implements ChunkProvider<T>

  A no-op `ChunkProvider`. The JSR-352 chunking model does not cache the input as the regular Spring Batch implementations do so this component is not needed within a chunking loop.
  Author:
    Michael Minella

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JsrChunkProvider()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `postProcess(StepContribution contribution, Chunk<T> chunk)`
    `Chunk<T>` | `provide(StepContribution contribution)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### JsrChunkProvider

          public JsrChunkProvider()

  - ### Method Detail

    - #### provide

          public Chunk<T> provide(StepContribution contribution)
                           throws java.lang.Exception

      Specified by:
        `provide` in interface `ChunkProvider<T>`
      Throws:
        `java.lang.Exception`

    - #### postProcess

          public void postProcess(StepContribution contribution,
                                  Chunk<T> chunk)

      Specified by:
        `postProcess` in interface `ChunkProvider<T>`