Access | Constructor and Description |
---|---|
public |
Modifier and Type | Method and Description |
---|---|
public void | afterWrite(List<Object>
specifies the items about to be
written. items)Implements jakarta. |
public void | beforeWrite(List<Object>
specifies the items about to be
written. items)Implements jakarta. |
public void | onWriteError(List<Object>
specifies the items about to be
written. items, Exception specifies the exception thrown by the item
writer. ex)Implements jakarta. |
AbstractItemWriteListener | back to summary |
---|---|
public AbstractItemWriteListener() |
afterWrite | back to summary |
---|---|
public void afterWrite(List<Object> items) throws Exception Implements jakarta. Override this method if the ItemWriteListener will do something after the items are written. The default implementation does nothing. |
beforeWrite | back to summary |
---|---|
public void beforeWrite(List<Object> items) throws Exception Implements jakarta. Override this method if the ItemWriteListener will do something before the items are written. The default implementation does nothing. |
onWriteError | back to summary |
---|---|
public void onWriteError(List<Object> items, Exception ex) throws Exception Implements jakarta. Override this method if the ItemWriteListener will do something when the ItemWriter writeItems method throws an exception. The default implementation does nothing. |