code: public static String buildKey(final RegisteredService service) {
          return service.getId() + ";" + service.getName() + ';' + service.getServiceId();
      }
docs: Gets key.
  
  @param service the service
  @return the key