Packagesystem.ioc.strategies
Classpublic class ObjectStaticFactoryProperty
InheritanceObjectStaticFactoryProperty Inheritance ObjectProperty Inheritance Object
Implements IObjectFactoryStrategy

This object create a static 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
 Inheritedname : String
The name of the property.
ObjectProperty
 Inheritedpolicy : String
The policy of the property
ObjectProperty
  type : String
The string representation of the type name of the static factory class.
ObjectStaticFactoryProperty
 Inheritedvalue : *
The value of the property.
ObjectProperty
Public Methods
 MethodDefined By
  
ObjectStaticFactoryProperty(name:String, type:String, evaluators:Array = null)
Creates a new ObjectStaticFactoryProperty instance.
ObjectStaticFactoryProperty
  
[static] Returns the ObjectStaticFactoryProperty representation of the specified generic object or null.
ObjectStaticFactoryProperty
Property Detail
typeproperty
public var type:String

The string representation of the type name of the static factory class.

Constructor Detail
ObjectStaticFactoryProperty()Constructor
public function ObjectStaticFactoryProperty(name:String, type:String, evaluators:Array = null)

Creates a new ObjectStaticFactoryProperty instance.

Parameters
name:String — The type of the static class use to create the object reference with a static property or constant.
 
type:String — The name of the static property or constant to invoke to create the object "reference".
 
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):ObjectStaticFactoryProperty

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

Parameters

o:Object (default = null)

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