Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.enhydra.servlet.debug
Interface ServletRecordCallback  view ServletRecordCallback download ServletRecordCallback.java


public interface ServletRecordCallback

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

Version:
$Revision: 1.4.12.1 $

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.


clearRecordsEvent

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