code: private void registerService(BundleContext bc, String name, Object serviceInstance) {
          Dictionary<String, Object> properties = new Hashtable<String, Object>();
          properties.put("service.vendor", "IBM");
          bc.registerService(name, serviceInstance, properties);
      }
docs: Register a service with default properties