reports.templates.jboss.jboss-ejb3.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>
<#macro processPool bean>
<#if bean.threadPool??>
${bean.beanName}
${bean.threadPool.poolName}
<#macro processTxTimeout bean>
<#if bean.txTimeouts??>
<#list bean.txTimeouts?keys as txMethodPattern>
${bean.beanName}
${txMethodPattern}
Local
${bean.txTimeouts[txMethodPattern]}
Seconds
<#if iterableHasContent(reportModel.relatedResources.sessionBeans)>
<#list reportModel.relatedResources.sessionBeans as sessionBean>
${sessionBean.beanName}
<#if sessionBean.sessionType??>${sessionBean.sessionType}
<#if iterableHasContent(sessionBean.environmentReferences)>
<#list sessionBean.environmentReferences as environmentRef>
<@processEnvRef environmentRef />
<#list reportModel.relatedResources.messageDriven as mdb>
${mdb.beanName}
<#if mdb.destination??>
destination
${mdb.destination.jndiLocation}
<#if iterableHasContent(mdb.environmentReferences)>
<#list mdb.environmentReferences as environmentRef>
<@processEnvRef environmentRef />
<#if iterableHasContent(reportModel.relatedResources.sessionBeans)>
<#list reportModel.relatedResources.sessionBeans as sessionBean>
<@processTxTimeout sessionBean />
<#if sessionBean.clustered?? && sessionBean.clustered>
${sessionBean.beanName}
true
<#list reportModel.relatedResources.messageDriven>
<#items as mdb>
<@processTxTimeout mdb />
<@processPool mdb />