Class InventoryReader

  • All Implemented Interfaces:
    jakarta.batch.api.chunk.ItemReader

    @Named("inventoryReader")
    public class InventoryReader
    extends jakarta.batch.api.chunk.AbstractItemReader
    • Constructor Detail

      • InventoryReader

        public InventoryReader()
    • Method Detail

      • open

        public void open​(Serializable cpd)
                  throws NamingException
        Specified by:
        open in interface jakarta.batch.api.chunk.ItemReader
        Overrides:
        open in class jakarta.batch.api.chunk.AbstractItemReader
        Throws:
        NamingException
      • readItem

        public InventoryRecord readItem()
                                 throws Exception
        Specified by:
        readItem in interface jakarta.batch.api.chunk.ItemReader
        Specified by:
        readItem in class jakarta.batch.api.chunk.AbstractItemReader
        Throws:
        Exception
      • checkpointInfo

        public Serializable checkpointInfo()
                                    throws Exception
        Specified by:
        checkpointInfo in interface jakarta.batch.api.chunk.ItemReader
        Overrides:
        checkpointInfo in class jakarta.batch.api.chunk.AbstractItemReader
        Throws:
        Exception