Esempio n. 1
0
  public void deleteMatchingServiceByGroup(String serviceFileName) throws RemoteException {
    String matchingServiceName = getMatchingServiceName(serviceFileName);
    if (matchingServiceName != null) {
      String serviceGroup[] = {getServiceGroup(matchingServiceName)};
      log.info("Service group name " + serviceGroup[0]);

      serviceAdminStub.deleteServiceGroups(serviceGroup);

    } else {
      log.error("Service group name cannot be null");
    }
  }
Esempio n. 2
0
  public void deleteService(String[] serviceGroup) throws RemoteException {

    serviceAdminStub.deleteServiceGroups(serviceGroup);
  }