if (easyBeansPortCompentRefs != null) {
for (PortComponentRef easyBeansPortComponentRef : easyBeansPortCompentRefs) {
String serviceEndpointInterface = easyBeansPortComponentRef.getServiceEndpointInterface();
// matching port component ref ?
IPortComponentRef portComponentRef = ref.getPortComponentRef(serviceEndpointInterface);
if (portComponentRef == null) {
// no matching found, create a new one
portComponentRef = new org.ow2.util.ee.metadata.common.impl.xml.struct.PortComponentRef();
portComponentRef.setServiceEndpointInterface(serviceEndpointInterface);
List<IPortComponentRef> existingList = ref.getPortComponentRefs();
// add
existingList.add(portComponentRef);
// set the new list
ref.setPortComponentRefs(existingList);
}
// Set the properties
portComponentRef.setStubProperties(easyBeansPortComponentRef.getProperties());
}
}
} else {
logger.info("@WebServiceRef({0}) was not found in the class '{1}'"
+ ", unused overriding information.",