String servicePointId = unresolved.getExtensionPointId();
if (LOG.isDebugEnabled()) {
LOG.debug("Trying to resolve service point " + servicePointId + " referenced by" +
" implementation" + logLocation(unresolved.getExtension().getLocation()));
}
ServicePointDefinition servicePoint = _definition.getServicePoint(servicePointId);
if (servicePoint == null)
{
_errorHandler.error(
LOG,
DefinitionMessages.unknownServicePoint(
IdUtils.extractModule(servicePointId),
IdUtils.stripModule(servicePointId)),
unresolved.getExtension().getLocation(),
null);
} else {
servicePoint.addImplementation((ImplementationDefinition) unresolved.getExtension());
}
iter.remove();
}
}