code: public void putComponent(String serviceClass,
        String serviceName,
        String componentName,
        ServiceRecord record) throws IOException {
      String path = RegistryUtils.componentPath(
          user, serviceClass, serviceName, componentName);
      registryOperations.mknode(RegistryPathUtils.parentOf(path), true);
      registryOperations.bind(path, record, BindFlags.OVERWRITE);
    }
docs: Add a component
  @param serviceClass service class to use under ~user
  @param componentName component name
  @param record record to put
  @throws IOException