Packagesystem.ioc.strategies
Classpublic class ObjectFactoryProperty
InheritanceObjectFactoryProperty Inheritance ObjectProperty Inheritance Object
Implements IObjectFactoryStrategy

This object create a proxy factory configured in the IObjectDefinition and replace the natural factory of the ObjectFactory.



Public Properties
 PropertyDefined By
 Inheritedevaluators : Array
The Array representation of all evaluators to transform the value of this object.
ObjectProperty
  factory : String
The factory string representation of the reference of this factory method object.
ObjectFactoryProperty
 Inheritedname : String
The name of the property.
ObjectProperty
 Inheritedpolicy : String
The policy of the property
ObjectProperty
 Inheritedvalue : *
The value of the property.
ObjectProperty
Public Methods
 MethodDefined By
  
ObjectFactoryProperty(factory:String, name:String, evaluators:Array = null)
Creates a new ObjectFactoryProperty instance.
ObjectFactoryProperty
  
build(o:Object = null):ObjectFactoryProperty
[static] Returns the ObjectFactoryProperty representation of the specified generic object or null.
ObjectFactoryProperty
Property Detail
factoryproperty
public var factory:String

The factory string representation of the reference of this factory method object.

Constructor Detail
ObjectFactoryProperty()Constructor
public function ObjectFactoryProperty(factory:String, name:String, evaluators:Array = null)

Creates a new ObjectFactoryProperty instance.

Parameters
factory:String — The string name of the reference in the factory used to create the object.
 
name:String — The name of the property.
 
evaluators:Array (default = null) — The Array representation of all evaluators who evaluate the value of the property.
Method Detail
build()method
public static function build(o:Object = null):ObjectFactoryProperty

Returns the ObjectFactoryProperty representation of the specified generic object or null.

Parameters

o:Object (default = null)

Returns
ObjectFactoryProperty — the ObjectFactoryProperty representation of the specified generic object or null.