org.codehaus.enunciate.modules.amf.merge-services-config-xml.fmt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of enunciate-amf Show documentation
Show all versions of enunciate-amf Show documentation
The Enunciate AMF module generates the artifacts needed for mounting AMF endpoints.
The newest version!
[#ftl]
[@file name="merged-services-config.xml" charset="utf-8"]
[#if source1["services"]?size > 0 || source2["services"]?size > 0]
[#list source1["services"]["service"] as el]
${el.@@markup}
[/#list]
[#list source2["services"]["service"] as el]
${el.@@markup}
[/#list]
[#list source1["services"]["service-include"] as el]
${el.@@markup}
[/#list]
[#list source2["services"]["service-include"] as el]
${el.@@markup}
[/#list]
[/#if]
[#if source1["channels"]?size > 0 || source2["channels"]?size > 0]
[#list source1["channels"]["channel-definition"] as el]
${el.@@markup}
[/#list]
[#list source2["channels"]["channel-definition"] as el]
${el.@@markup}
[/#list]
[/#if]
[#if source1["factories"]?size > 0 || source2["factories"]?size > 0]
[#list source1["factories"]["factory"] as el]
${el.@@markup}
[/#list]
[#list source2["factories"]["factory"] as el]
${el.@@markup}
[/#list]
[/#if]
[#if source1["logging"]?size > 0]
${source1["logging"].@@markup}
[#elseif source2["logging"]?size > 0]
${source2["logging"].@@markup}
[/#if]
[#if source1["system"]?size > 0]
${source1["system"].@@markup}
[#elseif source2["system"]?size > 0]
${source2["system"].@@markup}
[/#if]
[/@file]