Class JSefaWriter

    • Field Detail

      • objectTypes

        @Inject
        protected String objectTypes
      • validationMode

        @Inject
        protected String validationMode
      • objectAccessorProvider

        @Inject
        protected String objectAccessorProvider
      • validationProvider

        @Inject
        protected String validationProvider
      • simpleTypeProvider

        @Inject
        protected String simpleTypeProvider
      • typeMappingRegistry

        @Inject
        protected String typeMappingRegistry
      • file

        @Inject
        protected String file
      • encoding

        @Inject
        protected String encoding
      • serializer

        protected net.sf.jsefa.Serializer serializer
    • Constructor Detail

      • JSefaWriter

        public JSefaWriter()
    • Method Detail

      • open

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

        protected abstract net.sf.jsefa.Serializer createSerializer()
                                                             throws Exception
        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