throw e;
}
}
type.getDeclaredServices().put(service.getName(), service);
} else if (REFERENCE_ELEMENT.equals(qname)) {
BoundReferenceDefinition reference =
(BoundReferenceDefinition) registry.load(parent, reader, deploymentContext);
type.getDeclaredReferences().put(reference.getName(), reference);
}
break;
case END_ELEMENT:
if (IMPLEMENTATION_SPRING.equals(reader.getName())) {
return implementation;