@Named(value="inventoryInitReader")
public class InventoryInitReader
extends javax.batch.api.chunk.AbstractItemReader
Modifier and Type | Field and Description |
---|---|
protected DataSource |
dataSource |
Constructor and Description |
---|
InventoryInitReader() |
Modifier and Type | Method and Description |
---|---|
Serializable |
checkpointInfo() |
void |
open(Serializable cpd) |
InventoryRecord |
readItem() |
protected DataSource dataSource
public void open(Serializable cpd) throws NamingException
open
in interface javax.batch.api.chunk.ItemReader
open
in class javax.batch.api.chunk.AbstractItemReader
NamingException
public InventoryRecord readItem() throws SQLException
readItem
in interface javax.batch.api.chunk.ItemReader
readItem
in class javax.batch.api.chunk.AbstractItemReader
SQLException
public Serializable checkpointInfo() throws Exception
checkpointInfo
in interface javax.batch.api.chunk.ItemReader
checkpointInfo
in class javax.batch.api.chunk.AbstractItemReader
Exception
© Copyright IBM Corp. 2015
Licensed under the Apache License, Version 2.0