Class JsrSampleItemWriter

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

    public class JsrSampleItemWriter
    extends javax.batch.api.chunk.AbstractItemWriter

    Sample ItemWriter implementation.

    Since:
    3.0
    Author:
    Chris Schaefer
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethodDescription
      voidwriteItems​(java.util.List<java.lang.Object> people) 
      • Methods inherited from class javax.batch.api.chunk.AbstractItemWriter

        checkpointInfo, close, open
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • JsrSampleItemWriter

        public JsrSampleItemWriter()
    • Method Detail

      • writeItems

        public void writeItems​(java.util.List<java.lang.Object> people)
                        throws java.lang.Exception
        Specified by:
        writeItems in interface javax.batch.api.chunk.ItemWriter
        Specified by:
        writeItems in class javax.batch.api.chunk.AbstractItemWriter
        Throws:
        java.lang.Exception