| Package | org.springextensions.actionscript.module |
| SVN browsing | OwnerModuleObjectPostProcessor.as |
| Fisheye | OwnerModuleObjectPostProcessor.as |
| Class | public class OwnerModuleObjectPostProcessor |
| Implements | IObjectFactoryAware, 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
| Property | Defined by | ||
|---|---|---|---|
| objectFactory : IObjectFactory
[write-only]
Will check if the specified | OwnerModuleObjectPostProcessor | ||
| Method | Defined 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 | ||
| objectFactory | property |
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.
public function set objectFactory(value:IObjectFactory):void
| OwnerModuleObjectPostProcessor | () | constructor |
public function OwnerModuleObjectPostProcessor()
Creates a new OwnerModuleObjectPostProcessor instance.
| postProcessAfterInitialization | () | method |
public function postProcessAfterInitialization(object:*, objectName:String):*Not used in this implementation.
Parametersobject:* |
|
objectName:String |
* |
| 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.
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
|
* |