@Named(value="inventoryInitReader") public class InventoryInitReader extends 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() |
closeprotected DataSource dataSource
public void open(Serializable cpd) throws NamingException
open in interface ItemReaderopen in class AbstractItemReaderNamingExceptionpublic InventoryRecord readItem() throws SQLException
readItem in interface ItemReaderreadItem in class AbstractItemReaderSQLExceptionpublic Serializable checkpointInfo() throws Exception
checkpointInfo in interface ItemReadercheckpointInfo in class AbstractItemReaderException© Copyright IBM Corp. 2013
Licensed under the Apache License, Version 2.0