// TODO we might not need to copy the collections, as maybe the List might not
// throw concurrent modification exception? Couldn't tell from the docs
// but I don't think it does
for (Iterator iter = new ArrayList(networkConnectors).iterator(); iter.hasNext();) {
Service connector = (Service) iter.next();
connector.start();
}
for (Iterator iter = new ArrayList(transportConnectors).iterator(); iter.hasNext();) {
Service connector = (Service) iter.next();
connector.start();
}
if (discoveryAgent != null) {
discoveryAgent.start();