}
protected OMElement serialize(Template endpointTemplate) {
TemplateSerializer serializer = new TemplateSerializer();
// OMElement parent = OMAbstractFactory.getOMFactory().createOMElement(new QName(XMLConfigConstants.SYNAPSE_NAMESPACE,"parent"));
return serializer.serializeEndpointTemplate(endpointTemplate, null);
}
@SuppressWarnings({"ResultOfMethodCallIgnored"})
protected void deleteFile(String fileName, SynapseConfiguration synapseConfig) {
File templateDir = new File(configPath, MultiXMLConfigurationBuilder.TEMPLATES_DIR);