Issue Details (XML | Word | Printable)

Key: BATCH-145
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dave Syer
Reporter: Douglas C. Kaminsky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Spring Batch

Move CollectionItemProvider to infrastructure from samples

Created: 27/Sep/07 12:45 PM   Updated: 07/Aug/08 10:06 AM
Component/s: Infrastructure, Samples
Affects Version/s: 1.0-m2
Fix Version/s: 1.0-m3
Security Level: Public (Public Issues)

Time Tracking:
Not Specified

Issue Links:
Depends
 


 Description  « Hide
CollectionItemProvider in samples package (org.springframework.batch.sample.item.provider) seems general enough to be useful in more than just the samples.

This should be provided as part of the infrastructure package (org.springframework.batch.item.provider)
 along with ListItemProvider (should this replace ListItemProvier?)

Maybe there should be an "IterableItemProvider" version also for use with Java 5+?

 All   Comments   Work Log   Change History   FishEye   Builds      Sort Order: Ascending order - Click to sort in descending order
Dave Syer added a comment - 05/Oct/07 10:01 AM
I made the existing implementation thread safe, and tidied it up a bit. Didn't move it yet because it will be affected by BATCH-140, and might become redundant, or be redesigned.

Dave Syer added a comment - 21/Oct/07 10:28 AM
Removed FieldSetMapper property from the item provider as this was pushed down into the input source.

Dave Syer added a comment - 21/Oct/07 10:35 AM - edited
Moved it into infrastructure as AggregateItemProvider.

Dave Syer added a comment - 07/Aug/08 10:06 AM
Assume closed as resolved and released