/* */ {
/* 721 */ String refName = sref.getServiceRefName();
/* 722 */ if (refName == null) {
/* 723 */ throw new IllegalStateException("Invalid service-ref-name: " + refName);
/* */ }
/* 725 */ ServiceRefMetaData targetRef = parent.getServiceRef(refName);
/* 726 */ if (targetRef == null)
/* */ {
/* 728 */ log.debug("Cannot find <service-ref> with name: " + refName);
/* 729 */ parent.addServiceRef(sref);
/* */ }
/* */ else
/* */ {
/* 733 */ targetRef.merge(sref);
/* */ }
/* */ }