What about service interceptors?  How would you implement service interceptors without using some form of a proxy?

 


From: belaran [mailto:belaran@gmail.com]
Sent: Tuesday, July 19, 2005 7:58 AM
To: [email protected]
Subject: Re: [QUESTION] Proxy Generation Motivation

 

Lazy Loading/Eager Loading would be my best guest...
Indeed, the use of proxy allow you "lazy load" your object. When you ask for the object, HM creates the proxy and it's only when your really call the object that it really created...

I hope got your question , last time i answer one of those, i failed to really understand the question
 : /

2005/7/19, Jean Safar <[EMAIL PROTECTED]>:

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?

Best Regards
Jean Safar


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




--
Belaran,
"What'do'ya mean ?"
"As a motto, I just avoid meaning anything..."

Reply via email to