On 7/19/05, Jean Safar <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
