@Override public void sendEvent(Event event) { String domain = event.getDomain(); String namespace = contextHelper.getValue(domain + "/namespace"); String servicename = contextHelper.getValue(domain + "/event/servicename"); sendEvent(event, namespace, servicename); }
private QName getToolConnectorQName() { String defaultName = contextHelper.getValue("report/default"); String serviceName = contextHelper.getValue("report/" + defaultName + "/servicename"); String namespace = contextHelper.getValue("report/" + defaultName + "/namespace"); return new QName(namespace, serviceName); }