@Override
    public Group getGroup(String name) throws GroupNotFoundException
    {
        final Group result = data.get(name);
        if (result == null) {
            throw new GroupNotFoundException();
        }
        return result;
    }
A very basic implementation of a GroupProvider, that retains data in-memory.

@author Guus der Kinderen, guus@goodbytes.nl
xmppserver/src/test/java/org/jivesoftware/openfire/group/TestGroupProvider.java