| Package | org.springextensions.actionscript.ioc.config.impl.mxml.custom.stage |
| Class | public class StageObjectProcessor |
| Inheritance | StageObjectProcessor MXMLObjectDefinition Object |
| Implements | ICustomObjectDefinitionComponent, flash.events.IEventDispatcher |
Default MXML PropertychildContent
| Property | Defined By | ||
|---|---|---|---|
![]() | applicationContext : IApplicationContext | MXMLObjectDefinition | |
![]() | applicationDomain : ApplicationDomain | MXMLObjectDefinition | |
![]() | autoWireMode : String
Defines the way an object will be autowired (configured). | MXMLObjectDefinition | |
![]() | childContent : Array
Placeholder for all MXML child content of the current ObjectDefinition
| MXMLObjectDefinition | |
![]() | childContextAccess : String | MXMLObjectDefinition | |
![]() | className : String
The classname of the object that the current ObjectDefinition describes. | MXMLObjectDefinition | |
![]() | clazz : Class
The Class of the object that the current ObjectDefinition describes. | MXMLObjectDefinition | |
![]() | constructorArguments : Array
An array of arguments that will be passed to the constructor of the object. | MXMLObjectDefinition | |
![]() | defaultedProperties : Dictionary [read-only]
A dictionary of property names that have not been explicitly set through MXML markup. | MXMLObjectDefinition | |
![]() | definition : IObjectDefinition [read-only]
The IObjectDefinition that is populated by the current MXML ObjectDefinition
| MXMLObjectDefinition | |
![]() | dependencyCheck : String | MXMLObjectDefinition | |
![]() | dependsOn : Array | MXMLObjectDefinition | |
![]() | destroyMethod : String
The name of a method on the class defined by the class property that will be called when the
application context is disposed. | MXMLObjectDefinition | |
![]() | explicitProperties : Dictionary [read-only]
A dictionary of property names that have been explicitly set through MXML markup. | MXMLObjectDefinition | |
![]() | factoryMethod : String
The name of method responsible for the creation of the object. | MXMLObjectDefinition | |
![]() | factoryObject : MXMLObjectDefinition
The ObjectDefinition for the factory object responsible for the creation of the object. | MXMLObjectDefinition | |
![]() | factoryObjectName : String
The name of the factory object responsible for the creation of the object. | MXMLObjectDefinition | |
![]() | id : String
The unique id for the current ObjectDefinition as defined in the MXML markup. | MXMLObjectDefinition | |
![]() | initMethod : String
The name of a method on the class defined by the className property or clazz property that will be called immediately after the object has been configured. | MXMLObjectDefinition | |
![]() | isAbstract : Boolean | MXMLObjectDefinition | |
![]() | isAutoWireCandidate : Boolean
True if this object can be used as a value used by the container when it autowires an object by type. | MXMLObjectDefinition | |
![]() | isInitialized : Boolean [read-only] | MXMLObjectDefinition | |
![]() | isLazyInit : Boolean
True if the object does not need to be eagerly pre-instantiated by the container. | MXMLObjectDefinition | |
![]() | isSingleton : Boolean
True if only one instance of this object needs to be created by the container, i.e. | MXMLObjectDefinition | |
![]() | methodDefinitions : Dictionary [read-only]
A dictionary of MethodInvocation objects
| MXMLObjectDefinition | |
![]() | objectDefinitions : Object [read-only] | MXMLObjectDefinition | |
| objectSelector : Object | StageObjectProcessor | ||
![]() | params : Dictionary [read-only]
A dictionary of Param objects
| MXMLObjectDefinition | |
![]() | parentObject : MXMLObjectDefinition
If not null the specified ObjectDefinition will be used to populate the current ObjectDefinition
| MXMLObjectDefinition | |
![]() | primary : Boolean
True if this object needs to be used as the primary autowire candidate when the container is autowiring by type. | MXMLObjectDefinition | |
![]() | scope : String
Defines the scope of the object, the object is either a singleton or a prototype object. | MXMLObjectDefinition | |
![]() | skipMetadata : Boolean | MXMLObjectDefinition | |
![]() | skipPostProcessors : Boolean | MXMLObjectDefinition | |
| Method | Defined By | ||
|---|---|---|---|
Creates a new StageObjectProcessor instance. | StageObjectProcessor | ||
![]() | addConstructorArg(arg:ConstructorArg):void
Adds the specified ConstructorArg resolved value to the constructorArguments array. | MXMLObjectDefinition | |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void | StageObjectProcessor | ||
![]() | addMethodInvocation(method:MethodInvocation):void
Adds the specified MethodInvocation to the methodDefinitions dictionary, then creates an IObjectDefinition
based on the MethodInvocation properties, adds this to the definition.methodInvocations and propertyObjectDefinitions lists. | MXMLObjectDefinition | |
![]() | addProperty(property:Property):void
Adds the specified Property to the properties dictionary and resolves its value by invoking resolveValue(). | MXMLObjectDefinition | |
dispatchEvent(event:Event):Boolean | StageObjectProcessor | ||
execute(applicationContext:IApplicationContext, objectDefinitions:Object):void | StageObjectProcessor | ||
hasEventListener(type:String):Boolean | StageObjectProcessor | ||
![]() | initializeComponent(context:IApplicationContext):void
After FlexEvent.CREATION_COMPLETE has been dispatched the processChildContent() method is invoked. | MXMLObjectDefinition | |
![]() | initialized(document:Object, id:String):void | MXMLObjectDefinition | |
![]() | parse():void
Parses the MXML object definition. | MXMLObjectDefinition | |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void | StageObjectProcessor | ||
willTrigger(type:String):Boolean | StageObjectProcessor | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | findConfigurationPropertyNameWithValue(propertyValue:*):RuntimeObjectReference | MXMLObjectDefinition | |
![]() | initMXMLObjectDefinition():void | MXMLObjectDefinition | |
| StageObjectProcessor | |||
![]() | resolveValue(arg:Arg):*
Returns a RuntimeObjectReference instance if the specified Arg has a ref property assigned, returns a Class instance
if the Arg has a type property of "class" and a string as value, returns a RuntimeObjectReference if the property value is a ObjectDefinition
and adds this instance to the propertyObjectDefinitions list, in all other cases it just returns the value of the specified Arg. | MXMLObjectDefinition | |
| Constant | Defined By | ||
|---|---|---|---|
![]() | ANON_OBJECT_PREFIX : String = anonref_ [static]
Prefix added to ObjectDefinitions without an explicit context id, this prefix is needed
by the MXMLUtils serializer
| MXMLObjectDefinition | |
| OBJECTSELECTOR_CHANGED_EVENT : String = objectSelectorChanged [static] | StageObjectProcessor | ||
| objectSelector | property |
objectSelector:ObjectThis property can be used as the source for data binding.
public function get objectSelector():Object public function set objectSelector(value:Object):void| StageObjectProcessor | () | Constructor |
public function StageObjectProcessor()
Creates a new StageObjectProcessor instance.
| addEventListener | () | method |
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) | |
priority:int (default = 0) | |
useWeakReference:Boolean (default = false) |
| dispatchEvent | () | method |
public function dispatchEvent(event:Event):BooleanParameters
event:Event |
Boolean |
| execute | () | method |
public function execute(applicationContext:IApplicationContext, objectDefinitions:Object):voidParameters
applicationContext:IApplicationContext | |
objectDefinitions:Object |
| hasEventListener | () | method |
public function hasEventListener(type:String):BooleanParameters
type:String |
Boolean |
| removeEventListener | () | method |
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):voidParameters
type:String | |
listener:Function | |
useCapture:Boolean (default = false) |
| resolveObjectSelectorName | () | method |
protected function resolveObjectSelectorName():*Returns* |
| willTrigger | () | method |
public function willTrigger(type:String):BooleanParameters
type:String |
Boolean |
| OBJECTSELECTOR_CHANGED_EVENT | Constant |
public static const OBJECTSELECTOR_CHANGED_EVENT:String = objectSelectorChanged