populateLocalRegistry(composite, registry);
// look at all the endpoint references and try to match them to
// any local endpoints
for (EndpointReference endpointReference : registry.getEndpointReferences()){
endpointReferenceBinder.bindBuildTime(registry, endpointReference);
}
// remove the local registry
domainRegistryFactory.getEndpointRegistries().remove(registry);
}