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

java.lang.Object
  extended by javax.batch.api.chunk.AbstractItemWriter<ReadRecord>
      extended by com.ibm.jbatch.tck.artifacts.specialized.DoSomethingArrayItemWriterImpl
All Implemented Interfaces:
ItemWriter<ReadRecord>

@Named(value="doSomethingArrayItemWriterImpl")
public class DoSomethingArrayItemWriterImpl
extends AbstractItemWriter<ReadRecord>


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

Constructor Detail

DoSomethingArrayItemWriterImpl

public DoSomethingArrayItemWriterImpl()
Method Detail

open

public void open(java.io.Serializable cpd)
Specified by:
open in interface ItemWriter<ReadRecord>
Overrides:
open in class AbstractItemWriter<ReadRecord>

close

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

writeItems

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

checkpointInfo

public ArrayIndexCheckpointData checkpointInfo()
                                        throws java.lang.Exception
Specified by:
checkpointInfo in interface ItemWriter<ReadRecord>
Overrides:
checkpointInfo in class AbstractItemWriter<ReadRecord>
Throws:
java.lang.Exception


Copyright © 2013. All Rights Reserved.