Packageorg.springextensions.actionscript.ioc.config.impl.mxml.custom.stage
Classpublic class StageObjectProcessor
InheritanceStageObjectProcessor Inheritance MXMLObjectDefinition Inheritance Object
Implements ICustomObjectDefinitionComponent, flash.events.IEventDispatcher

Default MXML PropertychildContent



Public Properties
 PropertyDefined By
 InheritedapplicationContext : IApplicationContext
MXMLObjectDefinition
 InheritedapplicationDomain : ApplicationDomain
MXMLObjectDefinition
 InheritedautoWireMode : String
Defines the way an object will be autowired (configured).
MXMLObjectDefinition
 InheritedchildContent : Array
Placeholder for all MXML child content of the current ObjectDefinition
MXMLObjectDefinition
 InheritedchildContextAccess : String
MXMLObjectDefinition
 InheritedclassName : String
The classname of the object that the current ObjectDefinition describes.
MXMLObjectDefinition
 Inheritedclazz : Class
The Class of the object that the current ObjectDefinition describes.
MXMLObjectDefinition
 InheritedconstructorArguments : Array
An array of arguments that will be passed to the constructor of the object.
MXMLObjectDefinition
 InheriteddefaultedProperties : Dictionary
[read-only] A dictionary of property names that have not been explicitly set through MXML markup.
MXMLObjectDefinition
 Inheriteddefinition : IObjectDefinition
[read-only] The IObjectDefinition that is populated by the current MXML ObjectDefinition
MXMLObjectDefinition
 InheriteddependencyCheck : String
MXMLObjectDefinition
 InheriteddependsOn : Array
MXMLObjectDefinition
 InheriteddestroyMethod : 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
 InheritedexplicitProperties : Dictionary
[read-only] A dictionary of property names that have been explicitly set through MXML markup.
MXMLObjectDefinition
 InheritedfactoryMethod : String
The name of method responsible for the creation of the object.
MXMLObjectDefinition
 InheritedfactoryObject : MXMLObjectDefinition
The ObjectDefinition for the factory object responsible for the creation of the object.
MXMLObjectDefinition
 InheritedfactoryObjectName : String
The name of the factory object responsible for the creation of the object.
MXMLObjectDefinition
 Inheritedid : String
The unique id for the current ObjectDefinition as defined in the MXML markup.
MXMLObjectDefinition
 InheritedinitMethod : 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
 InheritedisAbstract : Boolean
MXMLObjectDefinition
 InheritedisAutoWireCandidate : Boolean
True if this object can be used as a value used by the container when it autowires an object by type.
MXMLObjectDefinition
 InheritedisInitialized : Boolean
[read-only]
MXMLObjectDefinition
 InheritedisLazyInit : Boolean
True if the object does not need to be eagerly pre-instantiated by the container.
MXMLObjectDefinition
 InheritedisSingleton : Boolean
True if only one instance of this object needs to be created by the container, i.e.
MXMLObjectDefinition
 InheritedmethodDefinitions : Dictionary
[read-only] A dictionary of MethodInvocation objects
MXMLObjectDefinition
 InheritedobjectDefinitions : Object
[read-only]
MXMLObjectDefinition
  objectSelector : Object
StageObjectProcessor
 Inheritedparams : Dictionary
[read-only] A dictionary of Param objects
MXMLObjectDefinition
 InheritedparentObject : MXMLObjectDefinition
If not null the specified ObjectDefinition will be used to populate the current ObjectDefinition
MXMLObjectDefinition
 Inheritedprimary : Boolean
True if this object needs to be used as the primary autowire candidate when the container is autowiring by type.
MXMLObjectDefinition
 Inheritedscope : String
Defines the scope of the object, the object is either a singleton or a prototype object.
MXMLObjectDefinition
 InheritedskipMetadata : Boolean
MXMLObjectDefinition
 InheritedskipPostProcessors : Boolean
MXMLObjectDefinition
Protected Properties
 PropertyDefined By
 Inherited_isInitialized : Boolean = false
MXMLObjectDefinition
Public Methods
 MethodDefined By
  
Creates a new StageObjectProcessor instance.
StageObjectProcessor
 Inherited
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
 Inherited
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
 Inherited
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
 Inherited
After FlexEvent.CREATION_COMPLETE has been dispatched the processChildContent() method is invoked.
MXMLObjectDefinition
 Inherited
initialized(document:Object, id:String):void
MXMLObjectDefinition
 Inherited
parse():void
Parses the MXML object definition.
MXMLObjectDefinition
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
StageObjectProcessor
  
willTrigger(type:String):Boolean
StageObjectProcessor
Protected Methods
 MethodDefined By
 Inherited
MXMLObjectDefinition
 Inherited
MXMLObjectDefinition
  
StageObjectProcessor
 Inherited
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
Public Constants
 ConstantDefined By
 InheritedANON_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
Property Detail
objectSelectorproperty
objectSelector:Object

This property can be used as the source for data binding.


Implementation
    public function get objectSelector():Object
    public function set objectSelector(value:Object):void
Constructor Detail
StageObjectProcessor()Constructor
public function StageObjectProcessor()

Creates a new StageObjectProcessor instance.

Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
useWeakReference:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
execute()method 
public function execute(applicationContext:IApplicationContext, objectDefinitions:Object):void

Parameters

applicationContext:IApplicationContext
 
objectDefinitions:Object

hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

resolveObjectSelectorName()method 
protected function resolveObjectSelectorName():*

Returns
*
willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean
Constant Detail
OBJECTSELECTOR_CHANGED_EVENTConstant
public static const OBJECTSELECTOR_CHANGED_EVENT:String = objectSelectorChanged