@Named(value="myItemWriteListenerImpl")
public class MyItemWriteListenerImpl
extends javax.batch.api.chunk.listener.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 javax.batch.api.chunk.listener.ItemWriteListener
beforeWrite
in class javax.batch.api.chunk.listener.AbstractItemWriteListener
Exception
public void afterWrite(List<Object> items) throws Exception
afterWrite
in interface javax.batch.api.chunk.listener.ItemWriteListener
afterWrite
in class javax.batch.api.chunk.listener.AbstractItemWriteListener
Exception
© Copyright IBM Corp. 2015
Licensed under the Apache License, Version 2.0