com.ibm.jbatch.tck.artifacts.specialized
Class MyItemProcessListenerImpl

java.lang.Object
  extended by javax.batch.api.chunk.listener.AbstractItemProcessListener
      extended by com.ibm.jbatch.tck.artifacts.specialized.MyItemProcessListenerImpl
All Implemented Interfaces:
ItemProcessListener

@Named(value="myItemProcessListenerImpl")
public class MyItemProcessListenerImpl
extends AbstractItemProcessListener


Field Summary
static String BAD_EXIT_STATUS
           
static String GOOD_EXIT_STATUS
           
 
Constructor Summary
MyItemProcessListenerImpl()
           
 
Method Summary
 void afterProcess(Object input, Object result)
           
 void beforeProcess(Object item)
           
 void onProcessError(Object input, Exception e)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

MyItemProcessListenerImpl

public MyItemProcessListenerImpl()
Method Detail

beforeProcess

public void beforeProcess(Object item)
Specified by:
beforeProcess in interface ItemProcessListener
Overrides:
beforeProcess in class AbstractItemProcessListener

afterProcess

public void afterProcess(Object input,
                         Object result)
                  throws Exception
Specified by:
afterProcess in interface ItemProcessListener
Overrides:
afterProcess in class AbstractItemProcessListener
Throws:
Exception

onProcessError

public void onProcessError(Object input,
                           Exception e)
                    throws Exception
Specified by:
onProcessError in interface ItemProcessListener
Overrides:
onProcessError in class AbstractItemProcessListener
Throws:
Exception


Copyright © 2013. All Rights Reserved.