Enhydra 5.1 API

org.enhydra.servlet.debug
Interface ServletRecordCallback


public interface ServletRecordCallback

Interface for objects that get called on transaction record queue changes.

Version:
$Revision: 1.1 $
Author:
Mark Diekhans

Method Summary
 void clearRecordsEvent()
          Function called when all existing records are cleared from the queue.
 void transactionRecordAddEvent(ServletTransactionRecord newRecord, ServletTransactionRecord deletedRecord)
          Function called on addition of a transaction record to the queue.
 

Method Detail

transactionRecordAddEvent

public void transactionRecordAddEvent(ServletTransactionRecord newRecord,
                                      ServletTransactionRecord deletedRecord)
Function called on addition of a transaction record to the queue. As this can result in a record being deleted, that record is also returned.

Parameters:
newRecord - transaction record that was added to the queue.
deletedRecord - transaction record that was deleted from the queue.

clearRecordsEvent

public void clearRecordsEvent()
Function called when all existing records are cleared from the queue.


Enhydra 5.1 API