View Full Version : httpInvoker and toString()
Oct 7th, 2004, 07:11 PM
Just started to use httpinvoker and I noticed that when anyone calls toString() on the proxy created by HttpInvokerProxyFactoryBean, the call to toString() is remoted. It's probably this way for hashCode and equals as well. Is this really desireable?
Oct 9th, 2004, 02:50 PM
Thanks for spotting this - this is clearly not desirable. It just happens for HTTP invoker and RMI invoker, BTW, not for the other remoting strategies (and just for toString and hashCode).
I've just fixed HttpInvokerClientInterceptor and RmiClientInterceptor accordingly, to handle toString locally. Furthermore, JdkDynamicAopProxy handles hashCode locally too now, not just equals.
Powered by vBulletin® Version 4.2.1 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.