On Wed, 7 Apr 2004, Keith Rogers wrote: > Yay! I've found the reason that the inheritence for userStatus didn't > work. Or at least, I've found the change I had to make to get it to > work. While the Address object was using a dynamic proxy, the UserStatus > was not. For some reason, giving UserStatus a dynamic proxy will make it > visible to any object that inherit from user. > > This brings me to a (very minor) problem, the reason I removed dynamic > proxy from UserStatus, which was that I wanted to be able to use the > toString() method, which of course, when used on a dynamic proxy will > only return information about the proxy.
It should not anymore (I changed this yesterday in CVS). Now calling (directly or indirectly) toString on a proxy materializes this object (just like any other business method). If you want the non-materializing behaviour, then use ProxyHelper.toString(Object). Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
