Package org.springframework.batch.item
Interface ResourceAware
public interface ResourceAwareMarker interface indicating that an item should have the SpringResourcein which it was read from, set on it. The canonical example is withinMultiResourceItemReader, 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 Description voidsetResource(org.springframework.core.io.Resource resource)