Packageorg.springextensions.actionscript.ioc.factory.config
SVN browsingObjectFactoryAwarePostProcessor.as
FisheyeObjectFactoryAwarePostProcessor.as
Classpublic class ObjectFactoryAwarePostProcessor
ImplementsIObjectPostProcessor

Post processes object by setting the object container as a property on the object if it implements IObjectContainerAware.



Documentation reference: injecting the object factory


Public Methods
 MethodDefined by
  
Constructs a new ObjectFactoryAwarePostProcessor instance.
ObjectFactoryAwarePostProcessor
  
postProcessAfterInitialization(object:*, objectName:String):*
This method is invoked right after the IInitializingObject and initMethod logic is invoked in the wiring pipeline.
ObjectFactoryAwarePostProcessor
  
postProcessBeforeInitialization(object:*, objectName:String):*
If the specified object implements the IObjectFactoryAware interface the objectFactory instance will be injected.
ObjectFactoryAwarePostProcessor
Constructor detail
ObjectFactoryAwarePostProcessor()constructor
public function ObjectFactoryAwarePostProcessor(objectFactory:IObjectFactory)

Constructs a new ObjectFactoryAwarePostProcessor instance.

Parameters
objectFactory:IObjectFactory — the IObjectFactory instance that will be injected into every IObjectContainerAware instance.
Method detail
postProcessAfterInitialization()method
public function postProcessAfterInitialization(object:*, objectName:String):*

This method is invoked right after the IInitializingObject and initMethod logic is invoked in the wiring pipeline.

Parameters
object:* — The instance that is being configured by the object factory
 
objectName:String — The name of the object definition as found in the IObjectFactory's configuration

Returns
*
postProcessBeforeInitialization()method 
public function postProcessBeforeInitialization(object:*, objectName:String):*

If the specified object implements the IObjectFactoryAware interface the objectFactory instance will be injected. This method is invoked right before the IInitializingObject and initMethod logic is invoked in the wiring pipeline.

Parameters
object:* — The instance that is being configured by the object factory
 
objectName:String — The name of the object as found in the IObjectFactory's configuration

Returns
*