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

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

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


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

DoSomethingItemWriterImpl

public DoSomethingItemWriterImpl()
Method Detail

open

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


Copyright © 2013. All Rights Reserved.