com.ibm.jbatch.tck.artifacts.specialized
Class MyItemWriteListenerImpl
java.lang.Object
javax.batch.api.chunk.listener.AbstractItemWriteListener
com.ibm.jbatch.tck.artifacts.specialized.MyItemWriteListenerImpl
- All Implemented Interfaces:
- ItemWriteListener
@Named(value="myItemWriteListenerImpl")
public class MyItemWriteListenerImpl
- extends AbstractItemWriteListener
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GOOD_EXIT_STATUS
public static final String GOOD_EXIT_STATUS
- See Also:
- Constant Field Values
BAD_EXIT_STATUS
public static final String BAD_EXIT_STATUS
- See Also:
- Constant Field Values
MyItemWriteListenerImpl
public MyItemWriteListenerImpl()
beforeWrite
public void beforeWrite(List<Object> items)
throws Exception
- Specified by:
beforeWrite in interface ItemWriteListener- Overrides:
beforeWrite in class AbstractItemWriteListener
- Throws:
Exception
afterWrite
public void afterWrite(List<Object> items)
throws Exception
- Specified by:
afterWrite in interface ItemWriteListener- Overrides:
afterWrite in class AbstractItemWriteListener
- Throws:
Exception
onWriteError
public void onWriteError(List<Object> items,
Exception e)
throws Exception
- Specified by:
onWriteError in interface ItemWriteListener- Overrides:
onWriteError in class AbstractItemWriteListener
- Throws:
Exception
Copyright © 2013. All Rights Reserved.