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

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

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


Field Summary
static String BAD_EXIT_STATUS
           
static String GOOD_EXIT_STATUS
           
 
Constructor Summary
MyItemReadListenerImpl()
           
 
Method Summary
 void afterRead(ReadRecord 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<ReadRecord>
Overrides:
beforeRead in class AbstractItemReadListener<ReadRecord>

afterRead

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

onReadError

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


Copyright © 2013. All Rights Reserved.