com.arsdigita.developersupport
Class DeveloperSupportListener

java.lang.Object
  extended bycom.arsdigita.developersupport.DeveloperSupportListener
Direct Known Subclasses:
WebDevSupport

public abstract class DeveloperSupportListener
extends Object

Version:
1.0
Author:
Joseph A. Bank (jbank@alum.mit.edu)

Field Summary
static String versionId
           
 
Constructor Summary
DeveloperSupportListener()
           
 
Method Summary
 void endStage(String stagename)
          endStage Callback indicating a stage has ended.
 void logComment(String comment)
          logComment Log a generic comment
 void logQuery(int connection_id, String type, String query, HashMap bindvars, long time, SQLException sqle)
          logQuery Callback logging a database query
 void requestAddProperty(Object request, String property, Object value)
          requestAddProperty Add a new property about this request.
 void requestEnd(Object request)
          requestEnd Callback indicating the request ended
 void requestStart(Object request)
          requestStart Callback indicating a new request has started.
 void startStage(String stagename)
          startStage Callback indicating a new stage has started.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

versionId

public static final String versionId
See Also:
Constant Field Values
Constructor Detail

DeveloperSupportListener

public DeveloperSupportListener()
Method Detail

requestStart

public void requestStart(Object request)
requestStart Callback indicating a new request has started. Request is an opaque pointer for now for linkage purposes (don't want to have dependencies on the dispatcher here) and for making this infrastructure more general.


requestAddProperty

public void requestAddProperty(Object request,
                               String property,
                               Object value)
requestAddProperty Add a new property about this request.


requestEnd

public void requestEnd(Object request)
requestEnd Callback indicating the request ended


logQuery

public void logQuery(int connection_id,
                     String type,
                     String query,
                     HashMap bindvars,
                     long time,
                     SQLException sqle)
logQuery Callback logging a database query


logComment

public void logComment(String comment)
logComment Log a generic comment


startStage

public void startStage(String stagename)
startStage Callback indicating a new stage has started. Stages can be used to log help mark the time taken to perform various parts of requests.


endStage

public void endStage(String stagename)
endStage Callback indicating a stage has ended. Stages can be used to log help mark the time taken to perform various parts of requests.



Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC