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

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

@Named(value="doSomethingSimpleArrayWriter")
public class DoSomethingSimpleArrayWriter
extends AbstractItemWriter<ReadRecord>


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

Constructor Detail

DoSomethingSimpleArrayWriter

public DoSomethingSimpleArrayWriter()
Method Detail

open

public void open(Externalizable cpd)
          throws Exception
Specified by:
open in interface ItemWriter<ReadRecord>
Overrides:
open in class AbstractItemWriter<ReadRecord>
Throws:
Exception

close

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

writeItems

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

checkpointInfo

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


Copyright © 2013. All Rights Reserved.