Propagating web transaction context into common object model (COM) business logic components
First Claim
1. A method of instrumenting a COM object invoked by a client for performing a selected business logic, comprising:
- intercepting a request from the client for creating said COM object, generating a wrapper object corresponding to said requested COM object, said wrapper object implementing a universal interface having a plurality of virtual functions each indexed by a number corresponding to an index number of a method associated with an interface of said requested COM object, providing said client with a reference pointer to said wrapper COM object, upon invocation of a method associated with an interface of the requested COM object by the client, invoking a virtual function of said universal interface of the wrapper object indexed by a number corresponding to an index number of said requested method, wherein said invoked virtual function references instructions for saving a start time marker, executing instructions corresponding to said requested method, and saving a stop time marker upon completion of execution of said instructions associated with the requested method.
8 Assignments
0 Petitions
Accused Products
Abstract
A method of instrumenting a COM object is disclosed. The COM object is invoked by a client for performing a selected business logic. The method comprises intercepting a request from the client for creating the COM object. A wrapper object corresponding to the requested COM object is then generated. The wrapper object implements a universal interface having a plurality of virtual functions each indexed by a number corresponding to an index number of a method associated with an interface of the requested COM object, and the client is provided with a reference pointer to the wrapper COM object. Upon invocation of a method associated with an interface of the requested COM object by the client, a virtual function of the universal interface of the wrapper object, which is indexed by a number corresponding to an index number of the requested method, is invoked. The invoked virtual function references instructions for saving a start time marker, executing instructions corresponding to the requested method, and saving a stop time marker upon completion of execution of the instructions associated with the requested method.
128 Citations
23 Claims
-
1. A method of instrumenting a COM object invoked by a client for performing a selected business logic, comprising:
-
intercepting a request from the client for creating said COM object, generating a wrapper object corresponding to said requested COM object, said wrapper object implementing a universal interface having a plurality of virtual functions each indexed by a number corresponding to an index number of a method associated with an interface of said requested COM object, providing said client with a reference pointer to said wrapper COM object, upon invocation of a method associated with an interface of the requested COM object by the client, invoking a virtual function of said universal interface of the wrapper object indexed by a number corresponding to an index number of said requested method, wherein said invoked virtual function references instructions for saving a start time marker, executing instructions corresponding to said requested method, and saving a stop time marker upon completion of execution of said instructions associated with the requested method. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. A system for monitoring a response time of a transaction performed by one or more COM objects executing on one or more platforms, comprising
one or more monitoring agents deployed on selected ones of said platforms, each monitoring agent intercepting a request for creating at least one of said COM objects and generating a wrapper object corresponding to said requested COM object, wherein said wrapper object implements a universal interface having a plurality of virtual functions each indexed by a number corresponding to an index number of a method associated with an interface of said requested COM object.
-
23. A computer readable medium storing instructions for performing a method of instrumenting a COM object invoked by a client comprising intercepting a request from the client for creating said COM object, generating a wrapper object corresponding to said requested COM object, said wrapper object implementing a universal interface having a plurality of virtual functions each indexed by a number corresponding to an index number of a method associated with an interface of said requested COM object, and providing said client with a reference pointer to said wrapper COM object,
Specification