List<ObjectFactory> objectFactories = new ArrayList<ObjectFactory>();
String refName = reference.getPort().getName();
Class refClass = reference.getPort().getServiceContract().getInterface();
for (ConfiguredService configuredService : reference.getTargetConfiguredServices()) {
objectFactories.add(new NonProxiedTargetFactory(configuredService, resolver));
}
boolean multiplicity = reference.getPort().getMultiplicity() == Multiplicity.ONE_N
|| reference.getPort().getMultiplicity() == Multiplicity.ZERO_N;
return createInjector(refName, refClass, multiplicity, objectFactories, fields, methods);