• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Arguments not shown properly in the .jar file

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

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.

Thanks,
Kapil
 
Ranch Hand
Posts: 192
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is the source commented and did you generate javadocs for the client?
They should read the API for details.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic