code: public void registerService(ProvidedServiceInstance serviceInstance,
              OperationalStatus status) {
  
          serviceInstance.setStatus(status);
          registerService(serviceInstance);
      }
docs: Register a ProvidedServiceInstance with the OperationalStatus.
  
  @param serviceInstance
  the ProvidedServiceInstance.
  @param status
  the OperationalStatus of the ProvidedServiceInstance.