com.ibm.jbatch.tck.artifacts.chunkartifacts
Class InventoryInitWriter
java.lang.Object
javax.batch.api.AbstractItemWriter<InventoryRecord>
com.ibm.jbatch.tck.artifacts.chunkartifacts.InventoryInitWriter
- All Implemented Interfaces:
- ItemWriter<InventoryRecord>
@Named(value="inventoryInitWriter")
public class InventoryInitWriter
- extends AbstractItemWriter<InventoryRecord>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dataSource
protected DataSource dataSource
InventoryInitWriter
public InventoryInitWriter()
open
public void open(Externalizable cpd)
throws NamingException
- Specified by:
open in interface ItemWriter<InventoryRecord>- Overrides:
open in class AbstractItemWriter<InventoryRecord>
- Throws:
NamingException
writeItems
public void writeItems(List<InventoryRecord> records)
throws Exception
- Specified by:
writeItems in interface ItemWriter<InventoryRecord>- Specified by:
writeItems in class AbstractItemWriter<InventoryRecord>
- Throws:
Exception
Copyright © 2013. All Rights Reserved.