| Package | org.springextensions.actionscript.ioc.factory.config |
| SVN browsing | StageComponentInterceptionPostProcessor.as |
| Fisheye | StageComponentInterceptionPostProcessor.as |
| Class | public class StageComponentInterceptionPostProcessor |
| Implements | IObjectPostProcessor |
IObjectSelector instance to select certain stage components
to be assigned to a specified target object. The assignment is done either by setting a property or
calling a method, specified by the targetProperty and targetMethod properties respectively.
See also
Documentation reference: injecting stage components into other object
| Property | Defined by | ||
|---|---|---|---|
| interceptBeforeInitialization : Boolean | StageComponentInterceptionPostProcessor | ||
| objectSelector : IObjectSelector
The
IObjectSelector instance used to determine which objects will be assigned to the target object. | StageComponentInterceptionPostProcessor | ||
| targetMethod : String
The name of the method on the target object to which the selected stage component(s) will be passed.
| StageComponentInterceptionPostProcessor | ||
| targetObject : Object
The name of the object as declared in the application context to which the selected stage component(s) will be assigned.
| StageComponentInterceptionPostProcessor | ||
| targetProperty : String
The name of the property on the target object to which the selected stage component(s) will be assigned.
| StageComponentInterceptionPostProcessor | ||
| Method | Defined by | ||
|---|---|---|---|
|
Creates a new
StageComponentInterceptionPostProcessor instance
| StageComponentInterceptionPostProcessor | ||
|
postProcessAfterInitialization(object:*, objectName:String):*
This method is invoked right after the
IInitializingObject and initMethod logic
is invoked in the wiring pipeline. | StageComponentInterceptionPostProcessor | ||
|
postProcessBeforeInitialization(object:*, objectName:String):*
This method is invoked right before the
IInitializingObject and initMethod logic
is invoked in the wiring pipeline. | StageComponentInterceptionPostProcessor | ||
|
processObject(object:Object):void
Either assigns the specified object to the specified property (
targetProperty)
or calls the specified method (targetMethod) and passes the object to it. | StageComponentInterceptionPostProcessor | ||
| interceptBeforeInitialization | property |
interceptBeforeInitialization:Boolean [read-write]Implementation
public function get interceptBeforeInitialization():Boolean
public function set interceptBeforeInitialization(value:Boolean):void
| objectSelector | property |
objectSelector:IObjectSelector [read-write]
The IObjectSelector instance used to determine which objects will be assigned to the target object.
public function get objectSelector():IObjectSelector
public function set objectSelector(value:IObjectSelector):void
| targetMethod | property |
targetMethod:String [read-write]The name of the method on the target object to which the selected stage component(s) will be passed.
Implementation public function get targetMethod():String
public function set targetMethod(value:String):void
| targetObject | property |
targetObject:Object [read-write]The name of the object as declared in the application context to which the selected stage component(s) will be assigned.
Implementation public function get targetObject():Object
public function set targetObject(value:Object):void
| targetProperty | property |
targetProperty:String [read-write]The name of the property on the target object to which the selected stage component(s) will be assigned.
Implementation public function get targetProperty():String
public function set targetProperty(value:String):void
| StageComponentInterceptionPostProcessor | () | constructor |
public function StageComponentInterceptionPostProcessor()
Creates a new StageComponentInterceptionPostProcessor instance
| 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.
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
|
* |
| postProcessBeforeInitialization | () | method |
public function postProcessBeforeInitialization(object:*, objectName:String):*
This method is invoked right before the IInitializingObject and initMethod logic
is invoked in the wiring pipeline.
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
|
* |
| processObject | () | method |
public function processObject(object:Object):void
Either assigns the specified object to the specified property (targetProperty)
or calls the specified method (targetMethod) and passes the object to it.
object:Object |
— If neither targetProperty nor targetMethod has been set.
|