On Wed, Nov 5, 2008 at 5:36 AM, Simon Kitching <[EMAIL PROTECTED]> wrote: > James Carman schrieb: >> >> This pattern (replacing the implementation of specific methods) is not >> supported "out of the box" by Proxy, but perhaps it should be? I >> wonder how common it is that you'd want to replace the implementation >> of certain methods and you wouldn't just go ahead and extend the class >> and override the methods yourself? Now, if the class is final, you >> can't extend it, but then again you wouldn't be able to proxy it >> anyway unless of course you're trying to replace the implementation of >> an implemented interface's method. >> > This is getting a little off-topic, but...
You're right. Perhaps we should start another [proxy] thread. Sorry to hijack, but someone else brought up proxy in the context of this interface vs. class discussion (since we had this discussion before w.r.t. proxy). :) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]