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

Interface BatchRecordProcessor


  1. public interface BatchRecordProcessor

Method Summary

Modifier and Type Method and Description
  1. int
completeProcessing()
This method is invoked during job destruction.
  1. void
initialize(java.util.Properties props)
This method is invoked during step setup to allow any initialization to occur
  1. 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

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

processRecord

  1. java.lang.Object processRecord( java.lang.Object record)
  2. 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

  1. 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: