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

java.lang.Object
  extended by com.ibm.jbatch.tck.artifacts.specialized.ListenerOnErrorWriter
All Implemented Interfaces:
ItemWriter

@Named
public class ListenerOnErrorWriter
extends Object
implements ItemWriter


Constructor Summary
ListenerOnErrorWriter()
           
 
Method Summary
 Serializable checkpointInfo()
           
 void close()
           
 void open(Serializable checkpoint)
           
 void writeItems(List<Object> items)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ListenerOnErrorWriter

public ListenerOnErrorWriter()
Method Detail

open

public void open(Serializable checkpoint)
          throws Exception
Specified by:
open in interface ItemWriter
Throws:
Exception

close

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

writeItems

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

checkpointInfo

public Serializable checkpointInfo()
                            throws Exception
Specified by:
checkpointInfo in interface ItemWriter
Throws:
Exception


Copyright © 2013. All Rights Reserved.