@Override
    public void deleteGroup(String name) throws GroupNotFoundException
    {
        // all providers are read-only
        if (isReadOnly()) {
            throw new UnsupportedOperationException();
        }

        for (final GroupProvider provider : getGroupProviders()) {
            if (provider.isReadOnly()) {
                continue;
            }
            provider.deleteGroup(name);
        }
    }
Removes a group from all non-read-only providers.

@param name the name of the group to delete.
xmppserver/src/main/java/org/jivesoftware/openfire/group/GroupMultiProvider.java