targetContract.setScope(targetScope);
ConfiguredService cTargetService = factory.createConfiguredService();
cTargetService.setPort(targetService);
cTargetService.initialize(assemblyContext);
target.getConfiguredServices().add(cTargetService);
target.initialize(assemblyContext);
// create the source component
AtomicComponent source = factory.createSimpleComponent();
ComponentType componentType = factory.createComponentType();
source.setName("source");