return;
} else if (externalService.getBindings() == null || externalService.getBindings().size() < 1
|| !(externalService.getBindings().get(0) instanceof SystemBinding)) {
return;
}
SystemBinding binding = (SystemBinding)externalService.getBindings().get(0);
if (binding.getTargetName() != null) {
SystemExternalServiceContextFactory contextFactory = new SystemExternalServiceContextFactory(externalService
.getName(), new InterCompositeReferenceFactory(binding.getTargetName()));
externalService.setContextFactory(contextFactory);
} else if (externalService.getConfiguredService().getPort().getServiceContract().getInterface() != null) {
// autowire
Class<Object> claz = externalService.getConfiguredService().getPort().getServiceContract().getInterface();
if (claz == null) {