return groupMembers;
}
public Group[] getGroups() throws Exception {
ClusteringAgent clusteringAgent = getClusteringAgent();
List<Group> groups = new ArrayList<Group>();
Set<String> groupNames = clusteringAgent.getDomains();
for (String groupName : groupNames) {
Group group = new Group();
group.setName(groupName);
GroupManagementAgent gmAgent = clusteringAgent.getGroupManagementAgent(groupName);
List<Member> memberList = gmAgent.getMembers();
group.setDescription(gmAgent.getDescription());
group.setNumberOfMembers(memberList.size());
groups.add(group);
}