@Named(value="myItemProcessListenerImpl")
public class MyItemProcessListenerImpl
extends javax.batch.api.chunk.listener.AbstractItemProcessListener
Modifier and Type | Field and Description |
---|---|
static String |
BAD_EXIT_STATUS |
static String |
GOOD_EXIT_STATUS |
Constructor and Description |
---|
MyItemProcessListenerImpl() |
Modifier and Type | Method and Description |
---|---|
void |
afterProcess(Object input,
Object result) |
void |
beforeProcess(Object item) |
void |
onProcessError(Object input,
Exception e) |
public static final String GOOD_EXIT_STATUS
public static final String BAD_EXIT_STATUS
public void beforeProcess(Object item)
beforeProcess
in interface javax.batch.api.chunk.listener.ItemProcessListener
beforeProcess
in class javax.batch.api.chunk.listener.AbstractItemProcessListener
public void afterProcess(Object input, Object result) throws Exception
afterProcess
in interface javax.batch.api.chunk.listener.ItemProcessListener
afterProcess
in class javax.batch.api.chunk.listener.AbstractItemProcessListener
Exception
© Copyright IBM Corp. 2015
Licensed under the Apache License, Version 2.0