Packageorg.springextensions.actionscript.context.support
SVN browsingApplicationContextAwareProcessor.as
FisheyeApplicationContextAwareProcessor.as
Classpublic class ApplicationContextAwareProcessor
ImplementsIObjectPostProcessor

IObjectPostProcessor implementation that checks for objects that implement the IApplicationContextAware interface and injects them with the provided IApplicationContext instance.

Author: Christophe Herreman
Version: $Revision: 21 $, $Date: 2008-11-01 22:58:42 +0100 (za, 01 nov 2008) $, $Author: dmurat $
Since: 0.1



Public Methods
 MethodDefined by
  
Creates a new ApplicationContextAwareProcessor instance.
ApplicationContextAwareProcessor
  
postProcessAfterInitialization(object:*, objectName:String):*
This method is invoked right after the IInitializingObject and initMethod logic is invoked in the wiring pipeline.
ApplicationContextAwareProcessor
  
postProcessBeforeInitialization(object:*, objectName:String):*

If the specified object implements the IApplicationContextAware interface the IApplicationContext instance is injected.

This method is invoked right before the IInitializingObject and initMethod logic is invoked in the wiring pipeline.
ApplicationContextAwareProcessor
Constructor detail
ApplicationContextAwareProcessor()constructor
public function ApplicationContextAwareProcessor(applicationContext:IApplicationContext)

Creates a new ApplicationContextAwareProcessor instance.

Parameters
applicationContext:IApplicationContext — The IApplicationContext instance that will be injected.
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 IApplicationContextAware interface the IApplicationContext instance is 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
*