|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.batch.api.chunk.AbstractItemReader
public abstract class AbstractItemReader
The AbstractItemReader provides default implementations of less commonly implemented methods.
| Constructor Summary | |
|---|---|
AbstractItemReader()
|
|
| Method Summary | |
|---|---|
java.io.Serializable |
checkpointInfo()
Override this method if the ItemReader supports checkpoints. |
void |
close()
Override this method if the ItemReader requires any close time processing. |
void |
open(java.io.Serializable checkpoint)
Override this method if the ItemReader requires any open time processing. |
abstract java.lang.Object |
readItem()
Implement read logic for the ItemReader in this method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractItemReader()
| Method Detail |
|---|
public void open(java.io.Serializable checkpoint)
throws java.lang.Exception
open in interface ItemReaderlast - checkpoint for this ItemReader - may be null.
java.lang.Exception - (or subclass) if an error occurs.
public void close()
throws java.lang.Exception
close in interface ItemReaderjava.lang.Exception - (or subclass) if an error occurs.
public abstract java.lang.Object readItem()
throws java.lang.Exception
readItem in interface ItemReaderjava.lang.Exception - (or subclass) if an error occurs.
public java.io.Serializable checkpointInfo()
throws java.lang.Exception
checkpointInfo in interface ItemReaderjava.lang.Exception - (or subclass) if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||