code: protected void registerInstrumentationService(BundleContext systemContext) {
          Instrumentation inst = config.getInstrumentation();
          if (inst != null) {
              // Register a wrapper so we can trace callers.
              inst = (Instrumentation) Proxy.newProxyInstance(TraceInstrumentation.class.getClassLoader(),
                                                              new Class[] { Instrumentation.class },
                                                              new TraceInstrumentation(inst));
              Hashtable<String, String> svcProps = new Hashtable<String, String>();
              systemContext.registerService(Instrumentation.class.getName(), inst, svcProps);
          }
      }
docs: Register the instrumentation class as a service in the OSGi registry
  
  @param systemBundleCtx
  The framework system bundle context