I am creating a .jar file which containing an Interface that is used by the third party integrators.
The problem I am facing is that the parameters of the methods in the interface is not getting passed to the Client-side in the correct format.
E.G.: The method exposed in the interface public void removeDisplay (SessionId aSessionId, ObjectId aDisplayId); When accessed from the client side it shows as: removeDisplay(SessionId arg0, ObjectId arg1);
So the client is not clear as to what ObjectId he has to pass, whether it is "displayId" or some other id.
I have checked the class file in the jar using DJ Decompiler and it shows the method as: removeDisplay(SessionId sessionId, ObjectId objectId);
So now I am having three different flavours of the same method.
I want to provide the client-side, the correct parameters so that he knows what to pass.
This is happenning with all the parameters, let be string, int, any object.
Kindly tell how to pass the correct arguments which I have provided in the interface.
Joined: Nov 20, 2007
Is the source commented and did you generate javadocs for the client? They should read the API for details.