ArrayList l = new ArrayList();
for (int i = 0; i < containerManagers.length; i++) {
Map messageContainerAdmins = containerManagers[i].getMessageContainerAdmins();
for (Iterator iter = messageContainerAdmins.values().iterator(); iter.hasNext();) {
MessageContainerAdmin mca = (MessageContainerAdmin) iter.next();
l.add(mca);
}
}
MessageContainerAdmin answer[] = new MessageContainerAdmin[l.size()];
l.toArray(answer);
return answer;
}