As James said, its the Proxy that gets the toString() implementation,
not the core service implementation.

The other methods you mentioned are not implemented by the Proxy or
passed on to the core service implementation.

The idea is to be able to get (in the debugger) a good idea of what
the mysterious $FooProxy_18433128aqb4587a class is.

http://howardlewisship.com/blog/2003/08/importance-of-tostring.html

What I don't support and will not allow is forcing the creation of the
CSI just to get its toString().  If that's important, toString() must
be part of the service interface.

On 5/11/05, James Carman <[EMAIL PROTECTED]> wrote:
> But, what you're dealing with is a proxy.  It's not subclassing the impl
> class, unless you're using bean services.
> 
> -----Original Message-----
> From: David J. M. Karlsen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, May 11, 2005 8:53 AM
> To: [email protected]
> Subject: Re: toString() method disappearing
> 
> Knut Wannheden wrote:
> > David,
> >
> > I remember something like this being discussed a few months back... Is
> > this what you mean?
> > http://thread.gmane.org/gmane.comp.jakarta.hivemind.devel/991
> 
> Yeah, same problem, I get the <PooledInterceptor.....> stuff (and not
> much more than that). But I do not agree that this is a good/preferable
> solution. It clutters up the normal java-semantics (what happens to
> clone() finalize() and other Object methods?), and if HM absolutely
> *has* to ovverride the method, it should do it's own toString() first -
> and then call the parents toString().
> 
> --
> David J. M. Karlsen - +47 90 68 22 43 http://www.davidkarlsen.com
> http://mp3.davidkarlsen.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
Howard M. Lewis Ship
Independent J2EE / Open-Source Java Consultant
Creator, Jakarta Tapestry
Creator, Jakarta HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to