Packageorg.springextensions.actionscript.module
SVN browsingOwnerModuleObjectPostProcessor.as
FisheyeOwnerModuleObjectPostProcessor.as
Classpublic class OwnerModuleObjectPostProcessor
ImplementsIObjectFactoryAware, IObjectPostProcessor

IObjectPostProcessor that will check if an object implements the IOwnerModuleAware interface and will optionally inject it with the ownerModule of the specified IObjectFactory

See also

IObjectFactory


Public Properties
 PropertyDefined by
  objectFactory : IObjectFactory
[write-only]

Will check if the specified IObjectFactory is also an IOwnerModuleAware, and if so wil store a strongly typed reference to it.

OwnerModuleObjectPostProcessor
Public Methods
 MethodDefined by
  
Creates a new OwnerModuleObjectPostProcessor instance.
OwnerModuleObjectPostProcessor
  
postProcessAfterInitialization(object:*, objectName:String):*
Not used in this implementation.
OwnerModuleObjectPostProcessor
  
postProcessBeforeInitialization(object:*, objectName:String):*

Will check if the current OwnerModuleObjectPostProcessor stores a valid IOwnerModuleAware instance.

OwnerModuleObjectPostProcessor
Property detail
objectFactoryproperty
objectFactory:IObjectFactory  [write-only]

Will check if the specified IObjectFactory is also an IOwnerModuleAware, and if so wil store a strongly typed reference to it.

Implementation
    public function set objectFactory(value:IObjectFactory):void
Constructor detail
OwnerModuleObjectPostProcessor()constructor
public function OwnerModuleObjectPostProcessor()

Creates a new OwnerModuleObjectPostProcessor instance.

Method detail
postProcessAfterInitialization()method
public function postProcessAfterInitialization(object:*, objectName:String):*

Not used in this implementation.

Parameters
object:*
 
objectName:String

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

Will check if the current OwnerModuleObjectPostProcessor stores a valid IOwnerModuleAware instance. If so it will check if the specified object also implements IOwnerModuleAware, if this is the case its IOwnerModuleAware.ownerModule property will be injected with the stored IOwnerModuleAware.ownerModule value.

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
*