| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterProcess(Object
specifies the item about to be processed. item, Object specifies the item to pass to the item writer. result)Implements jakarta. Override this method if the ItemProcessListener will do something after the item is processed. |
| public void | beforeProcess(Object
specifies the item about to be processed. item)Implements jakarta. Override this method if the ItemProcessListener will do something before the item is processed. |
| public void | onProcessError(Object
specifies the item about to be processed. item, Exception specifies the exception thrown by the item processor. ex)Implements jakarta. Override this method if the ItemProcessListener will do something when the ItemProcessor processItem method throws an exception. |
| AbstractItemProcessListener | back to summary |
|---|---|
| public AbstractItemProcessListener() | |
| afterProcess | back to summary |
|---|---|
| public void afterProcess(Object item, Object result) throws Exception Implements jakarta. Override this method if the ItemProcessListener will do something after the item is processed. The default implementation does nothing. | |
| beforeProcess | back to summary |
|---|---|
| public void beforeProcess(Object item) throws Exception Implements jakarta. Override this method if the ItemProcessListener will do something before the item is processed. The default implementation does nothing. | |
| onProcessError | back to summary |
|---|---|
| public void onProcessError(Object item, Exception ex) throws Exception Implements jakarta. Override this method if the ItemProcessListener will do something when the ItemProcessor processItem method throws an exception. The default implementation does nothing. | |