IN PROGRESS - BATCH-520: Add a Delegating File Reader For Multiple Files

added javadoc concerning importance of resource ordering on restart + TODO for improvements
This commit is contained in:
robokaso
2008-05-23 15:33:01 +00:00
parent c316f7aea4
commit 2624601d9e

View File

@@ -13,7 +13,11 @@ import org.springframework.util.Assert;
* {@link #setResources(Resource[])}, the actual reading is delegated to
* {@link #setDelegate(ResourceAwareItemReaderItemStream)}.
*
* Reset (rollback) capability is implemented by item buffering.
* Reset (rollback) capability is implemented by item buffering. To restart
* correctly resource ordering needs to be preserved between runs.
*
* TODO more robust restart e.g. sort resources alphabetically and store
* filename instead of resource array index.
*
* @author Robert Kasanicky
*/