com.ibm.jbatch.tck.artifacts.chunkartifacts
Class RetryWriter

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

@Named(value="retryWriter")
public class RetryWriter
extends AbstractItemWriter


Field Summary
protected  DataSource dataSource
           
 
Constructor Summary
RetryWriter()
           
 
Method Summary
 void open(Serializable cpd)
           
 void writeItems(List<Object> records)
           
 
Methods inherited from class javax.batch.api.chunk.AbstractItemWriter
checkpointInfo, close
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

dataSource

protected DataSource dataSource
Constructor Detail

RetryWriter

public RetryWriter()
Method Detail

open

public void open(Serializable cpd)
          throws NamingException
Specified by:
open in interface ItemWriter
Overrides:
open in class AbstractItemWriter
Throws:
NamingException

writeItems

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


Copyright © 2013. All Rights Reserved.