|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ItemWriteListener
ItemWriteListener intercepts item writer processing.
| Method Summary | |
|---|---|
void |
afterWrite(java.util.List<java.lang.Object> items)
The afterWrite method receives control after an item writer writes its items. |
void |
beforeWrite(java.util.List<java.lang.Object> items)
The beforeWrite method receives control before an item writer is called to write its items. |
void |
onWriteError(java.util.List<java.lang.Object> items,
java.lang.Exception ex)
The onWriteError method receives control after an item writer writeItems throws an exception. |
| Method Detail |
|---|
void beforeWrite(java.util.List<java.lang.Object> items)
throws java.lang.Exception
items - specifies the items about to be written.
java.lang.Exception - is thrown if an error occurs.
void afterWrite(java.util.List<java.lang.Object> items)
throws java.lang.Exception
items - specifies the items about to be written.
java.lang.Exception - is thrown if an error occurs.
void onWriteError(java.util.List<java.lang.Object> items,
java.lang.Exception ex)
throws java.lang.Exception
items - specifies the items about to be written.ex - specifies the exception thrown by the item writer.
java.lang.Exception - is thrown if an error occurs.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||