Claims
- 1. A method of instrumenting Java components installed on an application server in order to enable the Java components to be monitored, the method comprising:
adding a patch to a class loader class of a Java virtual machine installed on the application server, wherein the patch causes the class loader class to pass Java components to an instrumentation component when said Java components are loaded by the Java virtual machine; receiving, from a patched version of said class loader class, code of a Java component to be loaded by the Java virtual machine; and with the instrumentation component, instrumenting said code of the Java component to add functionality for tracking execution times.
- 2. The method of claim 1, wherein instrumenting said code comprises adding calls to each of a plurality of methods of the Java component, to thereby provide functionality for monitoring execution times of said methods.
- 3. The method of claim 1, wherein instrumenting said code comprises adding functionality for detecting when the Java component is invoked by a colored transaction request message.
- 4. The method of claim 1, wherein instrumenting said code comprises adding functionality for reporting transaction identifiers of transactions that invoke the Java component, to thereby allow said execution times to be associated with transactions to which they correspond.
RELATED APPLICATIONS
[0001] This application is a division of U.S. patent application Ser. No. 10/348,203, filed Jan. 20, 2003, which claims the benefit of U.S. Provisional Appl. No. 60/415,697, filed Oct. 2, 2002.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60415697 |
Oct 2002 |
US |
Divisions (1)
|
Number |
Date |
Country |
Parent |
10348203 |
Jan 2003 |
US |
Child |
10792150 |
Mar 2004 |
US |