Class NopWriter

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

    @Dependent
    public class NopWriter
    extends javax.batch.api.chunk.AbstractItemWriter
    For the fast system export implementation, all processing is handled inside the ResourcePayloadReader so the writer here is simply a NOP.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) javax.batch.runtime.context.JobContext jobContext  
    • Constructor Summary

      Constructors 
      Constructor Description
      NopWriter()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void writeItems​(java.util.List<java.lang.Object> items)  
      • Methods inherited from class javax.batch.api.chunk.AbstractItemWriter

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

        clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • jobContext

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

      • NopWriter

        public NopWriter()
    • Method Detail

      • writeItems

        public void writeItems​(java.util.List<java.lang.Object> items)
                        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