Packagemvcexpress.core.interfaces
Interfacepublic interface IProxyMap
Implementors ProxyMap

Interface to get proxy objects manually with your code, instead of automatic injection.



Public Methods
 MethodDefined By
  
getProxy(injectClass:Class, name:String):Proxy
Get proxy by class.
IProxyMap
Method Detail
getProxy()method
public function getProxy(injectClass:Class, name:String):Proxy

Get proxy by class. Alternative to injecting proxy automatically.

You might want to get proxy manually then your proxy has dynamic name. Also you might want to get proxy manually if your proxy is needed only in rare cases or only for short time. (for instance - you need it only in onRegister() function.)

Parameters

injectClass:Class — class of proxy, proxy object is mapped to.
 
name:String — Optional name if you need more then one proxy instance of same class.

Returns
Proxy