Class ChunkWriter

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

    @Dependent
    public class ChunkWriter
    extends javax.batch.api.chunk.AbstractItemWriter
    BulkData $import ChunkWriter
    • Field Detail

      • stepCtx

        @Inject
        javax.batch.runtime.context.StepContext stepCtx
      • jobCtx

        @Inject
        javax.batch.runtime.context.JobContext jobCtx
    • Constructor Detail

      • ChunkWriter

        public ChunkWriter()
    • Method Detail

      • open

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

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