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

java.lang.Object
  extended by com.ibm.jbatch.tck.artifacts.specialized.ListenerOnErrorWriter
All Implemented Interfaces:
ItemWriter<ReadRecord>

public class ListenerOnErrorWriter
extends java.lang.Object
implements ItemWriter<ReadRecord>


Constructor Summary
ListenerOnErrorWriter()
           
 
Method Summary
 java.io.Serializable checkpointInfo()
           
 void close()
           
 void open(java.io.Serializable checkpoint)
           
 void writeItems(java.util.List<ReadRecord> items)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerOnErrorWriter

public ListenerOnErrorWriter()
Method Detail

open

public void open(java.io.Serializable checkpoint)
          throws java.lang.Exception
Specified by:
open in interface ItemWriter<ReadRecord>
Throws:
java.lang.Exception

close

public void close()
           throws java.lang.Exception
Specified by:
close in interface ItemWriter<ReadRecord>
Throws:
java.lang.Exception

writeItems

public void writeItems(java.util.List<ReadRecord> items)
                throws java.lang.Exception
Specified by:
writeItems in interface ItemWriter<ReadRecord>
Throws:
java.lang.Exception

checkpointInfo

public java.io.Serializable checkpointInfo()
                                    throws java.lang.Exception
Specified by:
checkpointInfo in interface ItemWriter<ReadRecord>
Throws:
java.lang.Exception


Copyright © 2013. All Rights Reserved.