Package org.apache.batchee.groovy
Class GroovyItemReader
- java.lang.Object
-
- org.apache.batchee.groovy.GroovyItemReader
-
- All Implemented Interfaces:
javax.batch.api.chunk.ItemReader
public class GroovyItemReader extends Object implements javax.batch.api.chunk.ItemReader
-
-
Constructor Summary
Constructors Constructor Description GroovyItemReader()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SerializablecheckpointInfo()voidclose()voidopen(Serializable checkpoint)ObjectreadItem()
-
-
-
Method Detail
-
open
public void open(Serializable checkpoint) throws Exception
- Specified by:
openin interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
close
public void close() throws Exception- Specified by:
closein interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
readItem
public Object readItem() throws Exception
- Specified by:
readItemin interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
checkpointInfo
public Serializable checkpointInfo() throws Exception
- Specified by:
checkpointInfoin interfacejavax.batch.api.chunk.ItemReader- Throws:
Exception
-
-