public void removeMultiUserChatService(final long serviceID) throws NotFoundException {
        final MultiUserChatServiceImpl muc = (MultiUserChatServiceImpl) getMultiUserChatService(serviceID);
        if (muc == null) {
            Log.info("Unable to find service to remove for service ID {}", serviceID);
            throw new NotFoundException();
        }
        final String subdomain = muc.getServiceName();
        Log.info("Removing MUC service '{}'", subdomain);
        unregisterMultiUserChatService(subdomain);
        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.
xmppserver/src/main/java/org/jivesoftware/openfire/muc/MultiUserChatManager.java