Packageorg.springextensions.actionscript.ioc.autowire
SVN browsingIAutowireProcessor.as
FisheyeIAutowireProcessor.as
Interfacepublic interface IAutowireProcessor
ImplementorsAbstractObjectFactory, 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, objectName:String = null):void
Performs autowiring on the specified object instance, the specified IObjectDefinition can optionally be used to retrieve autowiring information from.
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, 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 — 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.
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.