Query Regarding Proxy Identity
I was going through the answers of following question:
Proxy Pattern Cons
The runtime environment may fiddle around with the proxy object, and you
always run the risk of accidentally trying to compare the proxy itself
with the business object hiding behind it, as in the case where the object
passes a this reference out somewhere and somebody trying to compare it
looks it back up from the runtime (and gets the proxy).
Can anyone please elaborate this? (I have read this line 1000 times but
not able to understand this).
No comments:
Post a Comment