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

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

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


Constructor Summary
DoSomethingSimpleArrayWriter()
           
 
Method Summary
 ArrayIndexCheckpointData checkpointInfo()
           
 void close()
           
 void open(Serializable cpd)
           
 void writeItems(List<Object> 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(Serializable cpd)
          throws Exception
Specified by:
open in interface ItemWriter
Overrides:
open in class AbstractItemWriter
Throws:
Exception

close

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

writeItems

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

checkpointInfo

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


Copyright © 2013. All Rights Reserved.