|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
T - specifies the type processed by an item reader.public interface ItemReadListener<T>
ItemReadListener intercepts item reader processing.
| Method Summary | |
|---|---|
void |
afterRead(T item)
The afterRead method that receives control after an item reader reads an item. |
void |
beforeRead()
The beforeRead method that receives control before an item reader is called to read the next item. |
void |
onReadError(Exception ex)
The onReadError method that receives control after an item reader throws an exception. |
| Method Detail |
|---|
void beforeRead()
throws Exception
Exception - is thrown if an error occurs.
void afterRead(T item)
throws Exception
item - specifies the item read by the item reader.
Exception - is thrown if an error occurs.
void onReadError(Exception ex)
throws Exception
ex - specifies the exception that occurred in the item reader.
Exception - is thrown if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||