synchronized(pInfo) {
if (pInfo.isRemoved())
throw new PortNotDefinedException("Provides Port : " + providesPortName +
" has been removed");
String retVal = pInfo.getProvidesPortHandle();
pInfo.incrNumConnections();
return retVal;
}
} else
throw new PortNotDefinedException("Provides Port : " + providesPortName +
" not defined");