isOSGiToOSGiWire[index] = wire.getTarget().getComponent() != null &&
wire.getTarget().getComponent().getImplementationProvider()
instanceof OSGiImplementationProvider;
Interface refInterface = reference.getInterfaceContract().getInterface();
if (refInterface instanceof JavaInterface) {
interfaceClasses[index] = ((JavaInterface)refInterface).getJavaClass();
if (!isOSGiToOSGiWire[index])
resolveWireCreateDummyBundles(interfaceClasses[index]);
}
if (!resolvedWires.contains(wire)) {
resolvedWires.add(wire);
}
else
wireResolved[index] = true;
index++;
}
for (ComponentService service : runtimeComponent.getServices()) {
Interface callbackInterface = service.getInterfaceContract().getCallbackInterface();
if (callbackInterface instanceof JavaInterface) {
interfaceClasses[index] = ((JavaInterface)callbackInterface).getJavaClass();
resolveWireCreateDummyBundles(interfaceClasses[index]);
}