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

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

@Named(value="doSomethingItemWriterImpl")
public class DoSomethingItemWriterImpl
extends AbstractItemWriter<ReadRecord>


Constructor Summary
DoSomethingItemWriterImpl()
           
 
Method Summary
 CheckpointData checkpointInfo()
           
 void close()
           
 void open(Externalizable checkpointData)
           
 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

DoSomethingItemWriterImpl

public DoSomethingItemWriterImpl()
Method Detail

open

public void open(Externalizable checkpointData)
          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 CheckpointData checkpointInfo()
                              throws Exception
Specified by:
checkpointInfo in interface ItemWriter<ReadRecord>
Overrides:
checkpointInfo in class AbstractItemWriter<ReadRecord>
Throws:
Exception


Copyright © 2013. All Rights Reserved.