@Named(value="myItemWriteListenerImpl") public class MyItemWriteListenerImpl extends AbstractItemWriteListener
| Modifier and Type | Field and Description |
|---|---|
static String |
BAD_EXIT_STATUS |
static String |
GOOD_EXIT_STATUS |
| Constructor and Description |
|---|
MyItemWriteListenerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterWrite(List<Object> items) |
void |
beforeWrite(List<Object> items) |
void |
onWriteError(List<Object> items,
Exception e) |
public static final String GOOD_EXIT_STATUS
public static final String BAD_EXIT_STATUS
public void beforeWrite(List<Object> items) throws Exception
beforeWrite in interface ItemWriteListenerbeforeWrite in class AbstractItemWriteListenerExceptionpublic void afterWrite(List<Object> items) throws Exception
afterWrite in interface ItemWriteListenerafterWrite in class AbstractItemWriteListenerExceptionpublic void onWriteError(List<Object> items, Exception e) throws Exception
onWriteError in interface ItemWriteListeneronWriteError in class AbstractItemWriteListenerException© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0