}
// set up the edges
for (int i = 0; i < componentInfo.length; i++) {
String usesComponentName = componentInfo[i].getInstanceName();
MobileComponentID cid =
new MobileComponentIDClientImpl(usesComponentName,
componentInfo[i].getInstanceHandle());
String[] usesPortNames = cid.getUsedPortNames();
// Add an edge for every uses port
for (int j = 0; j < usesPortNames.length; j++) {
logger.finest("Adding a connection for" +
" uses component: " +
usesComponentName +
", uses port: " +
usesPortNames[j]);
// Get the ConnectionID for this uses port
XCATConnectionInfo connInfo = cid.getConnectionInfo(usesPortNames[j]);
// If this port is not connected, skip to next iteration
if (connInfo == null)
continue;