@Named(value="myItemWriteListenerImpl")
public class MyItemWriteListenerImpl
extends jakarta.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 jakarta.batch.api.chunk.listener.ItemWriteListenerbeforeWrite in class jakarta.batch.api.chunk.listener.AbstractItemWriteListenerExceptionpublic void afterWrite(List<Object> items) throws Exception
afterWrite in interface jakarta.batch.api.chunk.listener.ItemWriteListenerafterWrite in class jakarta.batch.api.chunk.listener.AbstractItemWriteListenerException© Copyright 2013, 2020 International Business Machines Corp. and others
Licensed under the Apache License, Version 2.0