axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Davanum Srinivas (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-727) Inconsistency in generated Callback handler
Date Tue, 16 May 2006 11:16:07 GMT
     [ http://issues.apache.org/jira/browse/AXIS2-727?page=all ]
     
Davanum Srinivas resolved AXIS2-727:
------------------------------------

    Resolution: Fixed

added a getter for client data, removed the comments on adding user code, added a comment
on extending the class.

thanks,
dims

> Inconsistency in generated Callback handler
> -------------------------------------------
>
>          Key: AXIS2-727
>          URL: http://issues.apache.org/jira/browse/AXIS2-727
>      Project: Apache Axis 2.0 (Axis2)
>         Type: Bug

>   Components: Tools
>     Versions: 1.0
>  Environment: Axis2 1.0 RC4
>     Reporter: Kent Tong
>     Assignee: Ajith Harshana Ranabahu

>
> The generated Callback Handler class is declared as abstract, meaning that the user is
supposed to create a subclass from it. However, the clientData field is declared as private
and there is no getter, so the subclass won't be able to access it. In addition, as it is
intended to be subclassed, the method comment shouldn't suggest the user to fill in the code:
> <pre>
> public abstract class FooServiceCallbackHandler {
> 	private Object clientData;
> 	public void receiveResultadd(com.foo.sc.AddResponse param11) {
> 		// Fill here with the code to handle the response
> 	}
> 	public void receiveErroradd(java.lang.Exception e) {
> 		// Fill here with the code to handle the exception
> 	}
> }
> </pre>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message