com.ibm.websphere.batch.devframework.steps.technologyadapters

Interface BatchRecordProcessor



  • public interface BatchRecordProcessor
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      int completeProcessing()
      This method is invoked during job destruction.
      void initialize(java.util.Properties props)
      This method is invoked during step setup to allow any initialization to occur
      java.lang.Object processRecord(java.lang.Object record)
      This method is invoked at the beginning of the step to process any header information read by an input stream
    • Method Detail

      • initialize

        void initialize(java.util.Properties props)
        This method is invoked during step setup to allow any initialization to occur
        Parameters:
        props -
      • processRecord

        java.lang.Object processRecord(java.lang.Object record)
                                       throws java.lang.Exception
        This method is invoked at the beginning of the step to process any header information read by an input stream
        Parameters:
        record -
        Returns:
        Throws:
        java.lang.Exception
      • completeProcessing

        int completeProcessing()
        This method is invoked during job destruction. A step return code is returned that specifies whether the step was complete or there was an error etc. Valid return codes are specified in com.ibm.websphere.batch.BatchConstants
        Returns:
IBM WebSphere Application ServerTM
Release 8.5