Class ListenerOnErrorReader

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

    @Named
    public class ListenerOnErrorReader
    extends Object
    implements jakarta.batch.api.chunk.ItemReader
    • Constructor Detail

      • ListenerOnErrorReader

        public ListenerOnErrorReader()
    • Method Detail

      • open

        public void open​(Serializable checkpoint)
                  throws Exception
        Specified by:
        open in interface jakarta.batch.api.chunk.ItemReader
        Throws:
        Exception
      • close

        public void close()
                   throws Exception
        Specified by:
        close in interface jakarta.batch.api.chunk.ItemReader
        Throws:
        Exception
      • readItem

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

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