Packagesystem.ioc.strategies
Classpublic class ObjectStaticFactoryMethod
InheritanceObjectStaticFactoryMethod Inheritance ObjectMethod 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
 Inheritedarguments : Array
The array of the arguments to passed-in the factory method.
ObjectMethod
 Inheritedname : String
The name of the method to invoke to create the object.
ObjectMethod
  type : String
The string representation of the type name of the static factory class.
ObjectStaticFactoryMethod
Public Methods
 MethodDefined By
  
ObjectStaticFactoryMethod(type:String, name:String, arguments:Array = null)
Creates a new ObjectStaticFactoryMethod instance.
ObjectStaticFactoryMethod
  
[static] Returns the ObjectStaticFactoryMethod representation of the specified generic object or null.
ObjectStaticFactoryMethod
Property Detail
typeproperty
public var type:String

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

Constructor Detail
ObjectStaticFactoryMethod()Constructor
public function ObjectStaticFactoryMethod(type:String, name:String, arguments:Array = null)

Creates a new ObjectStaticFactoryMethod instance.

Parameters
type:String — The type of the static class use to create the object with a static method.
 
name:String — The name of the static method to invoke to create the object.
 
arguments:Array (default = null) — The array of the arguments to passed-in the factory method.
Method Detail
build()method
public static function build(o:Object = null):ObjectStaticFactoryMethod

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

Parameters

o:Object (default = null)

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