Microsoft SDK for Java

IJavaEventMonitor : IUnknown

The Microsoft VM uses IJavaEventMonitor to notify a profiler when registered events occur or are about to occur in an active Java process. This is the primary callback interface through which the Microsoft VM communicates with the profiler. The CLSID of the class implementing this callback interface must be registered by the profiler in the Win32 registry or in the environment. This interface includes several methods that are called by the VM when an event occurs in an executing Java process.

To use the Java profiler interfaces, a profiler program must either set an environment variable or create a registry entry to register IJavaEventMonitor with the Microsoft VM. Note that this differs from using the debugger interfaces, which are based on a debugger program calling registration interfaces implemented by the Microsoft VM.

  // Methods
  ExecuteByteCode
  ExecuteSourceLine
  Initialize
  MethodEntry
  MethodExit
  NotifyEvent

© 1999 Microsoft Corporation. All rights reserved. Terms of use.