com.rhi.architecture.parc.adapter
Class ErrorRecordsTask

java.lang.Object
  extended bycom.rhi.architecture.parc.adapter.OutputRecordsTask
      extended bycom.rhi.architecture.parc.adapter.ErrorRecordsTask
All Implemented Interfaces:
java.lang.Cloneable, java.lang.Runnable

public class ErrorRecordsTask
extends OutputRecordsTask

The ErrorRecordsTask is responsible for performing processing specific to error records by overriding method processRecords.

Since:
1.0
Author:
Chandra Ilindra

Field Summary
 
Fields inherited from class com.rhi.architecture.parc.adapter.OutputRecordsTask
parent
 
Constructor Summary
ErrorRecordsTask(AbstractOutputAdapter aoa, int mr, ExceptionHandler eh)
          Constructor
 
Method Summary
 void processRecords(java.util.Collection records, Transaction transaction)
          Process Error records and update audit information.
 
Methods inherited from class com.rhi.architecture.parc.adapter.OutputRecordsTask
clone, run, setRecords
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorRecordsTask

public ErrorRecordsTask(AbstractOutputAdapter aoa,
                        int mr,
                        ExceptionHandler eh)
Constructor

Parameters:
aoa - - reference to OutputAdapter
mr - - maximum number of retries for deadlocks
eh - - the exception handler to use when reporting asynch errors.
Since:
1.0
Method Detail

processRecords

public void processRecords(java.util.Collection records,
                           Transaction transaction)
                    throws TransactionException,
                           ProcessingException,
                           AuditException
Process Error records and update audit information.

Specified by:
processRecords in class OutputRecordsTask
Parameters:
records -
transaction -
Throws:
TransactionException
ProcessingException
AuditException
Since:
1.0


Copyright © 2002-2004 Robert Half International. All Rights Reserved.