commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Hammant <Paul_Hamm...@yahoo.com>
Subject Re: [ALTRMI] ProxyGenerator patch
Date Mon, 01 Apr 2002 22:45:03 GMT
Vinay,

No I think all of them dude....
Thats is what interfaces are all about yes?  If you want to hide methods 
have them in different interfaces, and don't extend from them..?

- Paul

>Paul,
>We should generate proxies for 
>calls  declared in the remote interface ONLY ,
>and should NOT generate calls in proxies for methods
>inherited from the base interface(or class) .
>Am I right ..? 
>
>[See attached patch ]
>
>Regards,
>V i n a y
>
>Index: ProxyGeneratorImpl.java
>===================================================================
>RCS file:
>/home/cvspublic/jakarta-commons-sandbox/altrmi/src/java/org/apache/commons/altrmi/generator/ProxyGeneratorImpl.java,v
>retrieving revision 1.12
>diff -r1.12 ProxyGeneratorImpl.java
>252c252
><             Method[] methods = clazz.getMethods();
>---
>
>>            Method[] methods =
>>
>clazz.getDeclaredMethods();
>
>
>
>__________________________________________________
>Do You Yahoo!?
>Yahoo! Movies - coverage of the 74th Academy Awards®
>http://movies.yahoo.com/
>
>--
>To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>
>
>
>




--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message