* @param portName The port name
* @param serviceDomain The service domain
* @return The service or null if not found
*/
public Service getService(QName serviceName, String portName, ServiceDomain serviceDomain) {
Service ret = null;
for (int index = 0, count = _services.size(); index < count; ++index) {
if (serviceName.equals(_services.get(index))) {
QName refName = ComponentNames.qualify(_componentName, serviceName);
ServiceReference sref = serviceDomain.getServiceReference(refName);
if (sref != null) {