Package | com.asfusion.mate.ioc |
Class | public class InjectorRegistry |
InjectorHandlers
to inject any properties on it.
Method | Defined by | ||
---|---|---|---|
register(target:Object, uid:*):Boolean
[static]
Register the target instance by dispatching an
InjectorEvent . | InjectorRegistry |
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.
target:Object |
|
uid:* |
Boolean |