Packagecom.asfusion.mate.ioc
Classpublic class InjectorRegistry

InjectorRegistry registers a target instance to be used by the InjectorHandlers to inject any properties on it.



Public Methods
 MethodDefined by
  
register(target:Object, uid:*):Boolean
[static] Register the target instance by dispatching an InjectorEvent.
InjectorRegistry
Method detail
register()method
public static function register(target:Object, uid:*):Boolean

Register the target instance by dispatching an InjectorEvent. InjectorHandlers receive this event and can inject any properties to the registered instance. A unique identifier can be used if you want to distinguish this target instance from other from the same class.

Parameters
target:Object
 
uid:*

Returns
Boolean