} catch (InterruptedException e) {
Logger.log(LogService.LOG_DEBUG, e.getMessage(), e);
}
}
}
AdvertisedService published = new AdvertisedService(ref);
allKnownServices.put(published.getServiceID().getName(), published);
NodeWriter nodeWriter = new NodeWriter(published,
WatchManager.this.writeRoot);
WatchManager.this.getNodeWriters().put(serviceid, nodeWriter);
nodeWriter.publish();
}