Packageorg.springextensions.actionscript.ioc.autowire
Interfacepublic interface IAutowireProcessor
Implementors DefaultAutowireProcessor

Interface that needs to be implemented by objects that can perform autowiring on arbitrary objects.



Public Methods
 MethodDefined By
  
autoWire(object:Object, objectDefinition:IObjectDefinition = null, objectName:String = null):void
Performs autowiring on the specified object instance, the specified IObjectDefinition can optionally be used to retrieve autowiring information from.
IAutowireProcessor
  
findAutowireCandidateName(clazz:Class):String
IAutowireProcessor
  
Method that can be invoked by an IObjectFactory implementation for any type of pre-processing of the IObjectDefinition associated with the object that needs to be created. Typically this method can be used to do some kind of constructor configuration.
IAutowireProcessor
Method Detail
autoWire()method
public function autoWire(object:Object, objectDefinition:IObjectDefinition = null, objectName:String = null):void

Performs autowiring on the specified object instance, the specified IObjectDefinition can optionally be used to retrieve autowiring information from.

Parameters

object:Object — The instance that needs to be autowired.
 
objectDefinition:IObjectDefinition (default = null) — The IObjectDefinition associated with the object that needs to be created.
 
objectName:String (default = null) — The name of the object as it is registered in a container.

findAutowireCandidateName()method 
public function findAutowireCandidateName(clazz:Class):String

Parameters

clazz:Class

Returns
String
preprocessObjectDefinition()method 
public function preprocessObjectDefinition(objectDefinition:IObjectDefinition):void

Method that can be invoked by an IObjectFactory implementation for any type of pre-processing of the IObjectDefinition associated with the object that needs to be created.

Typically this method can be used to do some kind of constructor configuration.

Parameters

objectDefinition:IObjectDefinition — The IObjectDefinition that describes the object that will be created.