You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2006/10/01 16:49:30 UTC

svn commit: r451754 - /webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl

Author: dims
Date: Sun Oct  1 07:49:30 2006
New Revision: 451754

URL: http://svn.apache.org/viewvc?view=rev&rev=451754
Log:
fix for AXIS2-1256 - Generated abstract callback class requires named implementation class

Modified:
    webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl

Modified: webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl?view=diff&rev=451754&r1=451753&r2=451754
==============================================================================
--- webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl (original)
+++ webservices/axis2/trunk/java/modules/codegen/src/org/apache/axis2/wsdl/template/java/CallbackHandlerTemplate.xsl Sun Oct  1 07:49:30 2006
@@ -19,15 +19,21 @@
 
     protected Object clientData;
 
-
     /**
     * User can pass in any object that needs to be accessed once the NonBlocking
-    * Web service call is finished and appropreate method of this CallBack is called.
+    * Web service call is finished and appropriate method of this CallBack is called.
     * @param clientData Object mechanism by which the user can pass in user data
     * that will be avilable at the time this callback is called.
     */
     public <xsl:value-of select="@name"/>(Object clientData){
         this.clientData = clientData;
+    }
+
+    /**
+    * Please use this constructor if you don't want to set any clientData
+    */
+    public <xsl:value-of select="@name"/>(){
+        this.clientData = null;
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org