if (componentReference != null) { Component promotedComponent = compositeReference.getPromotedComponents().get(i); promotedComponent = components.get(promotedComponent.getName()); compositeReference.getPromotedComponents().set(i, promotedComponent);
if (componentReference != null) { Component promotedComponent = compositeReference.getPromotedComponents().get(i); promotedComponent = components.get(promotedComponent.getName()); compositeReference.getPromotedComponents().set(i, promotedComponent);
implCompService.setPromotedComponent(((CompositeReference)implReference).getPromotedComponents().get(0)); implCompService.setForCallback(true); ComponentService promotedService = ((CompositeReference)implReference).getPromotedComponents().get(0).getService(serviceName); component.getName(), reference.getName(), ((CompositeReference)implReference).getPromotedComponents().get(0).getName(), serviceName);
implCompService.setPromotedComponent(((CompositeReference)implReference).getPromotedComponents().get(0)); implCompService.setForCallback(true); ComponentService promotedService = ((CompositeReference)implReference).getPromotedComponents().get(0).getService(serviceName); component.getName(), reference.getName(), ((CompositeReference)implReference).getPromotedComponents().get(0).getName(), serviceName);
promotedComponent.setName(promotedComponentName); promotedComponent.setUnresolved(true); compositeReference.getPromotedComponents().add(promotedComponent); ComponentReference promotedReference = assemblyFactory.createComponentReference();
promotedComponent.setName(promotedComponentName); promotedComponent.setUnresolved(true); compositeReference.getPromotedComponents().add(promotedComponent); ComponentReference promotedReference = assemblyFactory.createComponentReference();
CompositeReference implCompReference = assemblyFactory.createCompositeReference(); implCompReference.getPromotedComponents().add(((CompositeService)implService) .getPromotedComponent());
CompositeReference implCompReference = assemblyFactory.createCompositeReference(); implCompReference.getPromotedComponents().add(((CompositeService)implService) .getPromotedComponent());