From: Vance K. <va...@us...> - 2006-01-17 03:15:43
|
User: vancek Date: 06/01/16 19:15:38 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionLocal.vsl Log: added generatedFile variable for use in cartridge.xml, moved Local annotation to session bean Revision Changes Path 1.3 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl Index: SessionLocal.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- SessionLocal.vsl 3 Jan 2006 01:06:24 -0000 1.2 +++ SessionLocal.vsl 17 Jan 2006 03:15:36 -0000 1.3 @@ -3,12 +3,12 @@ #if ($stringUtils.isNotBlank($service.packageName)) package $service.packageName; #end +#set ($generatedFile = "${stringUtils.replace($service.fullyQualifiedServiceLocalInterfaceName,'.','/')}.java") /** * Local component interface for the ${service.serviceName} session bean. $service.getDocumentation(" * ") */ -@javax.ejb.Local public interface ${service.serviceLocalInterfaceName} #if($service.generalization) extends ${service.generalization.fullyQualifiedName}Local |
From: Vance K. <va...@us...> - 2006-03-05 05:56:45
|
User: vancek Date: 06/03/04 21:56:43 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionLocal.vsl Log: check business methods are not lifecycle callbacks Revision Changes Path 1.4 +7 -4 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl Index: SessionLocal.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- SessionLocal.vsl 17 Jan 2006 03:15:36 -0000 1.3 +++ SessionLocal.vsl 5 Mar 2006 05:56:43 -0000 1.4 @@ -17,7 +17,7 @@ #set ($constants = $service.constants) #if (!$constants.empty) - // ----------- accessors for constants ------------ + // ----------- Accessors For Constants ------------ #**##foreach($constant in $constants) ## Only expose the method if it is public. @@ -34,7 +34,7 @@ #set ($attributes = $service.instanceAttributes) #if (!$attributes.empty) - // --------------- attributes --------------------- + // --------------- Attributes --------------------- #**##foreach ($attribute in $attributes) ## Only expose the method to the component interface if it is public. @@ -59,11 +59,14 @@ #set ($operations = $service.businessOperations) #if (!$operations.empty) - // ------------ business methods ----------------- + // ------------ Business Methods ----------------- #**##foreach ($operation in $operations) +## +## Only expose methods that are not lifecycle callbacks ## Only expose public methods with local view type accessability -#* *##if ($operation.visibility == "public" && ($operation.viewTypeLocal || $operation.viewTypeBoth)) +## +#* *##if (!$operation.lifecycleCallback && $operation.visibility == "public" && ($operation.viewTypeLocal || $operation.viewTypeBoth)) /** $operation.getDocumentation(" * ") */ |
From: Vance K. <va...@us...> - 2006-04-24 02:31:32
|
User: vancek Date: 06/04/23 19:31:32 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionLocal.vsl Log: fixed comments in header Revision Changes Path 1.5 +4 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl Index: SessionLocal.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- SessionLocal.vsl 5 Mar 2006 05:56:43 -0000 1.4 +++ SessionLocal.vsl 24 Apr 2006 02:31:32 -0000 1.5 @@ -1,5 +1,8 @@ // license-header java merge-point -/* Autogenerated by AndroMDA (SessionLocal.vsl) - do not edit */ +// +// Attention: Generated code! Do not modify by hand! +// Generated by: SessionLocal.vsl in andromda-ejb3-cartridge. +// #if ($stringUtils.isNotBlank($service.packageName)) package $service.packageName; #end |