code: synchronized void updateRegistration(BundleContext ctx) {
          if (registration == null) {
              registration = ctx.registerService(KeystoreConfig.class, this, properties);
          } else {
              registration.setProperties(properties);
          }
      }
docs: Register this as a service in the service registry.
  Package private.
  
  @param ctx Bundle context to register service with.