private void raiseServiceNotFound(LogicalReference reference, Target target, InstantiationContext context) { URI referenceUri = reference.getUri(); String componentName = target.getComponent(); String serviceName = target.getBindable(); String msg = "The service " + serviceName + " wired from the reference " + referenceUri + " is not found on component " + componentName; ServiceNotFound error = new ServiceNotFound(msg, reference); context.addError(error); }
private void raiseServiceNotFound(LogicalReference reference, Target target, InstantiationContext context) { URI referenceUri = reference.getUri(); String componentName = target.getComponent(); String serviceName = target.getBindable(); String msg = "The service " + serviceName + " wired from the reference " + referenceUri + " is not found on component " + componentName; ServiceNotFound error = new ServiceNotFound(msg, reference); context.addError(error); }
String referenceName = target.getBindable();
String referenceName = target.getBindable();
return null; String serviceName = target.getBindable(); LogicalService targetService = null; if (serviceName != null) {
return null; String serviceName = target.getBindable(); LogicalService targetService = null; if (serviceName != null) {