- All Implemented Interfaces:
public class ListItemReader
- extends AbstractItemReader
ItemReader that pulls data from a list. Useful for testing.
- Dave Syer
Reads a piece of input data and advance to the next one.
|Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public ListItemReader(List list)
public Object read()
- Description copied from interface:
- Reads a piece of input data and advance to the next one. Implementations
null at the end of the input
data set. In a transactional setting, caller might get the same item
twice from successive calls (or otherwise), if the first call was in a
transaction that rolled back.
Copyright © 2008 SpringSource. All Rights Reserved.