contract.setInterface(ModuleScopeSystemComponent.class);
service = factory.createService();
service.setServiceContract(contract);
ConfiguredService cService = factory.createConfiguredService();
cService.setPort(service);
cService.initialize(assemblyContext);
ep.setConfiguredService(cService);
SystemBinding binding = factory.createSystemBinding();
ep.getBindings().add(binding);
ConfiguredReference cEpRef = factory.createConfiguredReference();
Reference epRef = factory.createReference();