return serviceInfoFactory.createServiceInfo(discoveryAdvertiser, endpointDescription);
}
protected org.osgi.service.remoteserviceadmin.EndpointDescription createEndpointDescriptionFromDiscovery(
IServiceInfo discoveredServiceInfo) {
DiscoveredEndpointDescription ded = endpointDescriptionFactory.createDiscoveredEndpointDescription(discoveryLocator, discoveredServiceInfo);
assertNotNull(ded);
return ded.getEndpointDescription();
}