From: Vance K. <va...@us...> - 2006-01-29 01:49:10
|
User: vancek Date: 06/01/28 17:49:01 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionBean.vsl Log: the listener annotation is included only if listenerEnabled is true Revision Changes Path 1.12 +5 -3 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBean.vsl Index: SessionBean.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBean.vsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- SessionBean.vsl 28 Jan 2006 02:49:15 -0000 1.11 +++ SessionBean.vsl 29 Jan 2006 01:49:00 -0000 1.12 @@ -24,7 +24,9 @@ @javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.${service.transactionType}) #**##end #end +#if ($service.listenerEnabled) @javax.ejb.CallbackListener(${service.fullyQualifiedServiceListenerName}.class) +#end #if ($stringUtils.isNotBlank($service.securityRealm)) #**##if ($service.persistenceContainerJboss) @org.jboss.annotation.security.SecurityDomain("${service.securityRealm}") |