| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | afterRead(Object
last item read by ItemReader item)Implements jakarta. Override this method if the ItemReadListener will do something after the item is read. |
| public void | beforeRead()
Implements jakarta. Override this method if the ItemReadListener will do something before the item is read. |
| public void | onReadError(Exception
exception thrown from readItem method ex)Implements jakarta. Override this method if the ItemReadListener will do something when the ItemReader readItem method throws an exception. |
| AbstractItemReadListener | back to summary |
|---|---|
| public AbstractItemReadListener() | |
| afterRead | back to summary |
|---|---|
| public void afterRead(Object item) throws Exception Implements jakarta. Override this method if the ItemReadListener will do something after the item is read. The default implementation does nothing. | |
| beforeRead | back to summary |
|---|---|
| public void beforeRead() throws Exception Implements jakarta. Override this method if the ItemReadListener will do something before the item is read. The default implementation does nothing. | |
| onReadError | back to summary |
|---|---|
| public void onReadError(Exception ex) throws Exception Implements jakarta. Override this method if the ItemReadListener will do something when the ItemReader readItem method throws an exception. The default implementation does nothing. | |