|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface ItemProcessListener
ItemProcessListener intercepts item processing.
| Method Summary | |
|---|---|
void |
afterProcess(Object item,
Object result)
The afterProcess method receives control after an item processor processes an item. |
void |
beforeProcess(Object item)
The beforeProcess method receives control before an item processor is called to process the next item. |
void |
onProcessError(Object item,
Exception ex)
The afterProcess method receives control after an item processor processes an item. |
| Method Detail |
|---|
void beforeProcess(Object item)
throws Exception
item - specifies the item about to be processed.
Exception - if an error occurs.
void afterProcess(Object item,
Object result)
throws Exception
item - specifies the item about to be processed.result - specifies the item to pass to the item writer.
Exception - if an error occurs.
void onProcessError(Object item,
Exception ex)
throws Exception
item - specifies the item about to be processed.ex - specifies the exception thrown by the item processor.
Exception
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0