hivemind-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Stampoultzis <gst...@gmail.com>
Subject Re: [QUESTION] Proxy Generation Motivation
Date Tue, 19 Jul 2005 23:47:13 GMT
On 7/19/05, Jean Safar <jean.safar@finobject.com> wrote:
> Hi,
> 
> I have been looking at HiveMind for a little while and I was wondering what
> motivated the use of proxy generation when creating the component through
> the registry. I could not find any explanation on that in the documentation.
> 
> It surely prevents cheating when playing with the interfaces as it prevents
> the instance to be cast to a known implementation of the desired interface
> which would break the programming by interface paradigm. Was there other
> jutifications?
> 

Another thing is that proxies allow you to adjust the scope/lifetime
of an object while still holding on to the original reference.

---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-user-help@jakarta.apache.org


Mime
View raw message