/** * Deletes a configured MultiUserChatService by ID, and shuts it down. * * @param serviceID The ID opf the service to be deleted. * @throws NotFoundException if the service was not found. */ public void removeMultiUserChatService(Long serviceID) throws NotFoundException { MultiUserChatServiceImpl muc = (MultiUserChatServiceImpl) getMultiUserChatService(serviceID); if (muc == null) { Log.error("MultiUserChatManager: Unable to find service to remove for service ID "+serviceID); throw new NotFoundException(); } unregisterMultiUserChatService(muc.getServiceName()); deleteService(serviceID); }
/** * Deletes a configured MultiUserChatService by ID, and shuts it down. * * @param serviceID The ID opf the service to be deleted. * @throws NotFoundException if the service was not found. */ public void removeMultiUserChatService(Long serviceID) throws NotFoundException { MultiUserChatServiceImpl muc = (MultiUserChatServiceImpl) getMultiUserChatService(serviceID); if (muc == null) { Log.error("MultiUserChatManager: Unable to find service to remove for service ID "+serviceID); throw new NotFoundException(); } unregisterMultiUserChatService(muc.getServiceName()); deleteService(serviceID); }