endpoint.getTargetName());
}
}
if (wire == null){
RuntimeComponentReference runtimeRef = ((RuntimeComponentReference)endpoint.getSourceComponentReference());
// add the resolved binding into the reference
runtimeRef.getBindings().add(endpoint.getSourceBinding());
// add a binding provider into the reference for the resolved binding
compositeActivator.addReferenceBindingProviderForEndpoint(endpoint);
// extract the binding provider that has been created
ReferenceBindingProvider bindingProvider = runtimeRef.getBindingProvider(endpoint.getSourceBinding());
// start the binding provider
bindingProvider.start();
// create the wire
compositeActivator.addReferenceWireForEndpoint(endpoint);
// extract the wire that has been created
wire = runtimeRef.getRuntimeWire(endpoint.getSourceBinding());
}
return wire.getInvocationChains();
}