@Named(value="numbersReader")
public class NumbersReader
extends javax.batch.api.chunk.AbstractItemReader
| Modifier and Type | Field and Description |
|---|---|
protected DataSource |
dataSource |
| Constructor and Description |
|---|
NumbersReader() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
checkpointInfo() |
void |
open(Serializable cpd) |
NumbersRecord |
readItem() |
protected DataSource dataSource
public void open(Serializable cpd) throws NamingException
open in interface javax.batch.api.chunk.ItemReaderopen in class javax.batch.api.chunk.AbstractItemReaderNamingExceptionpublic NumbersRecord readItem() throws Exception
readItem in interface javax.batch.api.chunk.ItemReaderreadItem in class javax.batch.api.chunk.AbstractItemReaderExceptionpublic Serializable checkpointInfo() throws Exception
checkpointInfo in interface javax.batch.api.chunk.ItemReadercheckpointInfo in class javax.batch.api.chunk.AbstractItemReaderException© Copyright IBM Corp. 2015
Licensed under the Apache License, Version 2.0