commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Carman" <ja...@carmanconsulting.com>
Subject Re: [configuration] Interface vs class
Date Wed, 05 Nov 2008 10:41:20 GMT
On Wed, Nov 5, 2008 at 5:36 AM, Simon Kitching <skitching@apache.org> 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: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message