*/
public Document generate() throws ConfigurationException {
Document doc = YADOMUtil.createDocument();
Element root;
doc.appendChild(doc.createComment("\n\tNOTE: DO NOT MODIFY\n\tThis file was auto-generated.\n"));
root = YADOMUtil.addElement(doc, "jbossesb-gateways");
root.setAttribute("parameterReloadSecs", model.getParameterReloadSecs());
List<Service> services = model.getServices();
HashMap<String, HashMap<String, String>> hm = new HashMap<String, HashMap<String, String>>();