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

java.lang.Object
  extended by javax.batch.api.chunk.listener.AbstractItemReadListener
      extended by com.ibm.jbatch.tck.artifacts.specialized.MyItemReadListenerImpl
All Implemented Interfaces:
ItemReadListener

@Named(value="myItemReadListenerImpl")
public class MyItemReadListenerImpl
extends AbstractItemReadListener


Field Summary
static String BAD_EXIT_STATUS
           
static String GOOD_EXIT_STATUS
           
 
Constructor Summary
MyItemReadListenerImpl()
           
 
Method Summary
 void afterRead(Object item)
           
 void beforeRead()
           
 void onReadError(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

MyItemReadListenerImpl

public MyItemReadListenerImpl()
Method Detail

beforeRead

public void beforeRead()
Specified by:
beforeRead in interface ItemReadListener
Overrides:
beforeRead in class AbstractItemReadListener

afterRead

public void afterRead(Object item)
               throws Exception
Specified by:
afterRead in interface ItemReadListener
Overrides:
afterRead in class AbstractItemReadListener
Throws:
Exception

onReadError

public void onReadError(Exception e)
                 throws Exception
Specified by:
onReadError in interface ItemReadListener
Overrides:
onReadError in class AbstractItemReadListener
Throws:
Exception


Copyright © 2013. All Rights Reserved.