@Named(value="inventoryInitReader")
public class InventoryInitReader
extends jakarta.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 jakarta.batch.api.chunk.ItemReaderopen in class jakarta.batch.api.chunk.AbstractItemReaderNamingExceptionpublic InventoryRecord readItem() throws SQLException
readItem in interface jakarta.batch.api.chunk.ItemReaderreadItem in class jakarta.batch.api.chunk.AbstractItemReaderSQLExceptionpublic Serializable checkpointInfo() throws Exception
checkpointInfo in interface jakarta.batch.api.chunk.ItemReadercheckpointInfo in class jakarta.batch.api.chunk.AbstractItemReaderException© Copyright 2013, 2020 International Business Machines Corp. and others
Licensed under the Apache License, Version 2.0