code: @Override
  	public IServiceRegistration registerService(String clazz, Object service,
  			Dictionary<String, String> properties) {
  		final String sourceMethod = "registerService"; //$NON-NLS-1$
  		boolean isTraceLogging = log.isLoggable(Level.FINER);
  		if (isTraceLogging) {
  			log.entering(PlatformServicesImpl.class.getName(), sourceMethod, new Object[]{clazz, service, properties});
  		}
  		ServiceRegistrationOSGi serviceRegistrationOSGi = null;
  		ServiceRegistration<?> serviceRegistration = null;
  		BundleContext bundleContext = Activator.getBundleContext();
  		if (bundleContext != null) {
  			serviceRegistration = bundleContext.registerService(clazz, service,
  					properties);
  			serviceRegistrationOSGi = new ServiceRegistrationOSGi(serviceRegistration);
  		}
  		if (isTraceLogging) {
  			log.exiting(PlatformServicesImpl.class.getName(), sourceMethod, serviceRegistrationOSGi);
  		}
  		return serviceRegistrationOSGi;
  	}
docs: /*
  (non-Javadoc)
  
  @see org.osgi.framework.BundleContext#registerService(String clazz,
  Object service, Dictionary properties)