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

java.lang.Object
  extended by javax.batch.api.chunk.AbstractItemReader
      extended by com.ibm.jbatch.tck.artifacts.chunkartifacts.InventoryInitReader
All Implemented Interfaces:
ItemReader

@Named(value="inventoryInitReader")
public class InventoryInitReader
extends AbstractItemReader


Field Summary
protected  DataSource dataSource
           
 
Constructor Summary
InventoryInitReader()
           
 
Method Summary
 Serializable checkpointInfo()
           
 void open(Serializable cpd)
           
 InventoryRecord readItem()
           
 
Methods inherited from class javax.batch.api.chunk.AbstractItemReader
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

InventoryInitReader

public InventoryInitReader()
Method Detail

open

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

readItem

public InventoryRecord readItem()
                         throws SQLException
Specified by:
readItem in interface ItemReader
Specified by:
readItem in class AbstractItemReader
Throws:
SQLException

checkpointInfo

public Serializable checkpointInfo()
                            throws Exception
Specified by:
checkpointInfo in interface ItemReader
Overrides:
checkpointInfo in class AbstractItemReader
Throws:
Exception


Copyright © 2013. All Rights Reserved.