×

Method and apparatus for accessing instrumentation data from within a managed code environment

  • US 7,627,865 B2
  • Filed: 07/06/2001
  • Issued: 12/01/2009
  • Est. Priority Date: 07/10/2000
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer-implemented method for providing access to instrumentation data from within a managed code runtime environment, wherein the data arises from a source outside the managed code runtime environment, the method comprising:

  • providing an application compiled into an intermediate form from a runtime-aware programming language, the application being suitable for execution by a runtime engine in a managed code runtime environment;

    executing the application in the managed code runtime environment;

    receiving a request at the runtime engine from the executing application for instrumentation data from a source executing in a native code environment outside the managed code runtime environment;

    the runtime engine binding an instance of a management object class to a particular management instrumentation object, the instance of the management object class being constructed from an API comprising the management object class, the management object class encapsulating a method for binding an instance of the management object to the particular management instrumentation object and a method for saving changes made to the object,the API further comprising a management object searcher class which permits the retrieval of a collection of instrumentation objects based on a specified query, a management event watcher class, a management path class, a management scope class providing functionally for building a management scope or namespace, and a management options class which is a base class for subclasses that allow options to be set that are utilized when certain operations are performed, the certain operations comprising one or more of connecting to a management scope, enumeration of object, and querying,the particular management instrumentation object representing the data source executing in the native code environment outside management code environment;

    wherein binding the instance comprises passing a path of an instrumentation data object for the instance of the management object to bind to, options used to retrieve the instrumentation data object, and a namespace identifying a parent of the instrumentation data object;

    transmitting a corresponding request for said instrumentation data to the source executing in the native code environment outside the managed code runtime environment;

    receiving a response to said corresponding request from said instrumentation data source;

    converting said response to a format that is compatible with said managed code runtime environment; and

    responding to said request for instrumentation data with said converted response.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×