Hi All,
It appears that the way Proxy classes are set up they pretty much behave like Singletons. Due to the idiom where you define a NAME constant inside of the Proxy class and retrieve the instance of the Proxy via that NAME constant:
public static const NAME:String = 'CodePeekDataProxy';
I was just curious about the intent of this design. I have tried to see if there were cases were I would use multiple instances of a single Proxy class in my own applications and I can't think of any. So this idiom makes total sense to me, but I just wanted some clarification or insight into this to make sure I was using it properly.
What would happen if you instantiate 2 Proxies of the same class? Would you only be able to retrieve the first instance using
facade.retrieveProxy()? Is it a rare case that you actually need multiple instances of the same Proxy class?
Thanks,
Carl