org.springframework.batch.item

## Interface ResourceAware

-     public interface ResourceAware

  Marker interface indicating that an item should have the Spring `Resource` in which it was read from, set on it. The canonical example is within `MultiResourceItemReader`, which will set the current resource on any items that implement this interface.
  Author:
    Lucas Ward

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setResource(org.springframework.core.io.Resource resource)`

- - ### Method Detail

    - #### setResource

          void setResource(org.springframework.core.io.Resource resource)