From: Vance K. <va...@us...> - 2006-01-17 03:16:21
|
User: vancek Date: 06/01/16 19:16:13 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionRemote.vsl Log: added generatedFile variable for use in cartridge.xml, moved Remote annotation to session bean Revision Changes Path 1.3 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl Index: SessionRemote.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- SessionRemote.vsl 3 Jan 2006 01:06:24 -0000 1.2 +++ SessionRemote.vsl 17 Jan 2006 03:16:13 -0000 1.3 @@ -3,12 +3,12 @@ #if ($stringUtils.isNotBlank($service.packageName)) package $service.packageName; #end +#set ($generatedFile = "${stringUtils.replace($service.fullyQualifiedServiceRemoteInterfaceName,'.','/')}.java") /** * Remote component interface for the ${service.serviceName} session bean. $service.getDocumentation(" * ") */ -...@ja...mote public interface ${service.serviceRemoteInterfaceName} #if ($service.generalization) extends ${service.generalization.fullyQualifiedName}Remote |
From: Vance K. <va...@us...> - 2006-02-09 07:14:28
|
User: vancek Date: 06/02/08 23:14:21 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionRemote.vsl Log: method declaration throws clause refactored Revision Changes Path 1.4 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl Index: SessionRemote.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- SessionRemote.vsl 17 Jan 2006 03:16:13 -0000 1.3 +++ SessionRemote.vsl 9 Feb 2006 07:14:21 -0000 1.4 @@ -70,7 +70,7 @@ #* *##set ($returnType = $operation.returnType.fullyQualifiedName) #* *##if ($operation.exceptionsPresent) public $returnType $operation.signature - throws $operation.exceptionList; + $operation.throwsClause; #* *##else public $returnType $operation.signature; #* *##end |
From: Vance K. <va...@us...> - 2006-03-05 05:57:39
|
User: vancek Date: 06/03/04 21:57:37 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionRemote.vsl Log: check business methods are not lifecycle callbacks Revision Changes Path 1.5 +7 -4 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl Index: SessionRemote.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- SessionRemote.vsl 9 Feb 2006 07:14:21 -0000 1.4 +++ SessionRemote.vsl 5 Mar 2006 05:57:37 -0000 1.5 @@ -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 remote view type accessability -#* *##if ($operation.visibility == "public" && ($operation.viewTypeRemote || $operation.viewTypeBoth)) +## +#* *##if (!$operation.lifecycleCallback && $operation.visibility == "public" && ($operation.viewTypeRemote || $operation.viewTypeBoth)) /** $operation.getDocumentation(" * ") */ |