T - The type of elementpublic class ItemReaderWrapper<T> extends Object implements org.springframework.batch.item.ItemStreamReader<T>, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.BeanNameAware
| Constructor and Description |
|---|
ItemReaderWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
afterPropertiesSet() |
void |
close() |
void |
open(org.springframework.batch.item.ExecutionContext executionContext) |
T |
read() |
void |
setBeanName(String name) |
void |
setItemReader(org.springframework.batch.item.ItemReader<T> itemReader) |
String |
toString() |
void |
update(org.springframework.batch.item.ExecutionContext executionContext) |
public void afterPropertiesSet()
throws Exception
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBeanExceptionpublic void open(org.springframework.batch.item.ExecutionContext executionContext)
throws org.springframework.batch.item.ItemStreamException
open in interface org.springframework.batch.item.ItemStreamorg.springframework.batch.item.ItemStreamExceptionpublic void update(org.springframework.batch.item.ExecutionContext executionContext)
throws org.springframework.batch.item.ItemStreamException
update in interface org.springframework.batch.item.ItemStreamorg.springframework.batch.item.ItemStreamExceptionpublic void close()
throws org.springframework.batch.item.ItemStreamException
close in interface org.springframework.batch.item.ItemStreamorg.springframework.batch.item.ItemStreamExceptionpublic T read() throws Exception, org.springframework.batch.item.UnexpectedInputException, org.springframework.batch.item.ParseException, org.springframework.batch.item.NonTransientResourceException
public void setItemReader(org.springframework.batch.item.ItemReader<T> itemReader)
itemReader - the itemReader to setpublic void setBeanName(String name)
setBeanName in interface org.springframework.beans.factory.BeanNameAwareCopyright © 2016. All rights reserved.