Iterator itr = map.entrySet().iterator();
while (itr.hasNext()) {
Map.Entry entry = (Map.Entry)itr.next();
String key = (String)entry.getKey();
HABrokerInfo bi = (HABrokerInfo)entry.getValue();
HAClusteredBrokerImpl impl = (HAClusteredBrokerImpl)get(key);
if (impl == null) {
HAClusteredBroker cb =
new HAClusteredBrokerImpl(bi.getId(), bi);
put(key,cb);
brokerChanged(ClusterReason.ADDED, cb.getBrokerName(),
null, cb, cb.getBrokerSessionUID(), null);
} else { // update
// already exists