reports.templates.jboss.jboss-web.ftl Maven / Gradle / Ivy
The newest version!
<#macro processEnvRef environmentRef>
<#switch environmentRef.referenceTagType>
<#case "RESOURCE_ENV_REF">
${environmentRef.name}
<#if environmentRef.jndiReference??>${environmentRef.jndiReference.jndiLocation}
<#break>
<#case "RESOURCE_REF">
${environmentRef.name}
<#if environmentRef.jndiReference??>${environmentRef.jndiReference.jndiLocation}
<#break>
<#case "EJB_LOCAL_REF">
${environmentRef.name}
<#if environmentRef.jndiReference??>${environmentRef.jndiReference.jndiLocation}
<#break>
<#case "EJB_REF">
${environmentRef.name}
<#if environmentRef.jndiReference??>${environmentRef.jndiReference.jndiLocation}
<#break>
<#case "MSG_DESTINATION_REF">
${environmentRef.name}
<#if environmentRef.jndiReference??>${environmentRef.jndiReference.jndiLocation}
<#break>
<#default>
<#if iterableHasContent(reportModel.relatedResources.environmentReferences)>
<#list reportModel.relatedResources.environmentReferences as environmentRef>
<@processEnvRef environmentRef />