We are using remote objects/services and have developed a custom Java adapter. In beta1, JavaAdapter had a “getMethod()” method to look up a remote class’s method. This API does not appear to be available in beta2. I replaced this with just the standard java reflection method lookup on Class. However, it appears as if this method did some more work. Specifically, I am calling an API that takes a java.lang.Long as a parameter. I pass a Number from actionscript, it gets mapping to a java.lang.Integer on the server, and now my reflection look does not work as there is no version of my operation that takes a java.lang.Integer (we are expecting java.lang.Long).

 

Any thoughts on this? Is the old JavaAdapter.getMethod() available somehow/somewhere? If not, did the old getMethod() do more work than standard reflection to find the appropriate method (perhaps iterating the valid “numeric” object types?)? If so, would Adobe care to share this code with me/us so I don’t have to roll my own? Any other suggestions?

 

Thanks,

 

Jim

 

-------------------------------------------------

Jim Schneider

KJ Interactive, Inc.

1-877-370-6906

1-612-605-5399

 



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to