Class JacksonJSonWriter

  • All Implemented Interfaces:
    javax.batch.api.chunk.ItemWriter

    public class JacksonJSonWriter
    extends Object
    implements javax.batch.api.chunk.ItemWriter
    • Constructor Detail

      • JacksonJSonWriter

        public JacksonJSonWriter()
    • Method Detail

      • open

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

        public void close()
                   throws Exception
        Specified by:
        close in interface javax.batch.api.chunk.ItemWriter
        Throws:
        Exception
      • writeItems

        public void writeItems​(List<Object> items)
                        throws Exception
        Specified by:
        writeItems in interface javax.batch.api.chunk.ItemWriter
        Throws:
        Exception
      • checkpointInfo

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