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"); } }
public void deleteService(String[] serviceGroup) throws RemoteException { serviceAdminStub.deleteServiceGroups(serviceGroup); }