com.poscoict.glueframework.batch.item
Class GlueCompositeCursorReader<T>

java.lang.Object
  extended by com.poscoict.glueframework.batch.item.GlueCompositeCursorReader<T>
All Implemented Interfaces:
org.springframework.batch.item.ItemReader<T>, org.springframework.batch.item.ItemStream, org.springframework.batch.item.ItemStreamReader<T>

public class GlueCompositeCursorReader<T>
extends Object
implements org.springframework.batch.item.ItemStreamReader<T>

ItemStreamReader ±¸Çöü.

 Bean Property
 
 - itemsMapper : 
 
 - itemReaderList : 
 
 - returnType : 
 
 
 
 ¿¹Á¦
 »ç¿ë ¿¹# 1
 
     <bean id="readers" class="com.poscoict.glueframework.batch.item.GlueCompositeCursorReader"/>
 


Constructor Summary
GlueCompositeCursorReader()
           
 
Method Summary
 void close()
           
 void open(org.springframework.batch.item.ExecutionContext executionContext)
           
 T read()
           
 void setItemReaderList(List<org.springframework.batch.item.database.AbstractCursorItemReader<?>> itemReaderList)
          setter method for DI.
 void setItemsMapper(GlueItemsMapper<T> mapper)
          setter method for DI.
 void setReturnType(String returnType)
          setter method for DI.
 void update(org.springframework.batch.item.ExecutionContext executionContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlueCompositeCursorReader

public GlueCompositeCursorReader()
Method Detail

setItemsMapper

public void setItemsMapper(GlueItemsMapper<T> mapper)
setter method for DI.

Parameters:
mapper -

setItemReaderList

public void setItemReaderList(List<org.springframework.batch.item.database.AbstractCursorItemReader<?>> itemReaderList)
setter method for DI.

Parameters:
itemReaderList -

setReturnType

public void setReturnType(String returnType)
setter method for DI.

Parameters:
returnType -

open

public void open(org.springframework.batch.item.ExecutionContext executionContext)
          throws org.springframework.batch.item.ItemStreamException
Specified by:
open in interface org.springframework.batch.item.ItemStream
Throws:
org.springframework.batch.item.ItemStreamException

close

public void close()
           throws org.springframework.batch.item.ItemStreamException
Specified by:
close in interface org.springframework.batch.item.ItemStream
Throws:
org.springframework.batch.item.ItemStreamException

update

public void update(org.springframework.batch.item.ExecutionContext executionContext)
Specified by:
update in interface org.springframework.batch.item.ItemStream

read

public T read()
       throws Exception,
              org.springframework.batch.item.UnexpectedInputException,
              org.springframework.batch.item.ParseException,
              org.springframework.batch.item.NonTransientResourceException
Specified by:
read in interface org.springframework.batch.item.ItemReader<T>
Throws:
Exception
org.springframework.batch.item.UnexpectedInputException
org.springframework.batch.item.ParseException
org.springframework.batch.item.NonTransientResourceException


Copyright © 2013–2018 POSCO ICT. All rights reserved.