Modifier and Type | Method and Description |
---|---|
public void | afterProcess(Object
specifies the item processed by the item processor. item, Object specifies the item to pass to the item writer. result)The afterProcess method receives control after an item processor processes an item. |
public void | beforeProcess(Object
specifies the item about to be processed. item)The beforeProcess method receives control before an item processor is called to process the next item. |
public void | onProcessError(Object
specifies the item the processor attempted to process. item, Exception specifies the exception thrown by the item processor. ex)The onProcessError method receives control after an item processor processItem throws an exception. |
afterProcess | back to summary |
---|---|
public void afterProcess(Object item, Object result) throws Exception The afterProcess method receives control after an item processor processes an item. The method receives the item processed and the result item as an input. |
beforeProcess | back to summary |
---|---|
public void beforeProcess(Object item) throws Exception The beforeProcess method receives control before an item processor is called to process the next item. The method receives the item to be processed as an input. |
onProcessError | back to summary |
---|---|
public void onProcessError(Object item, Exception ex) throws Exception The onProcessError method receives control after an item processor processItem throws an exception. The method receives the item sent to the item processor as input. |