Tracking package.

Tracking Software Components
by Jerry Gao, Ph.D., Eugene Y. Zhu, and Simon Shim, Ph.D.
Listing 1. Tracking package.


public interface IBean Tracker   {
    public void traceError (String errormsg) ;
    public void traceInterface (String methodName, String paramvalue);
    public void traceOperation (String methodName);
    public void tracePerformance (String label);
    public void tracePerformance (String label, boolean isBegin);
    public void traceState (String name, String value);
    public EventListener genGUIListener ();
    public void traceGUI (String itemname, String event);
}

public interface ITRAgent extends ItemListener  {
    / / dynamically generate and return a plug-in tracker
    public IBeanTracker createTracker (String beanName);
}

public interface ITraceableBean   {
    / / function to store the reference to the plug-in tracker
    public void bindBeanTracker ();

    / / expose the trace properties
    public void get TraceProperties ();
}

About the Authors

Jerry Gao, Ph.D. is a full-time faculty member in the Department of Computer Engineering at San Jose University and can be reached at [email protected].

Eugene Zhu works at SCSL USA Inc. and may be reached at [email protected].

Simon Shim, Ph.D. is a full-time faculty member in the Department of Computer Engineering at San Jose University and may be reached at [email protected].