| Package | system.ioc.strategies |
| Class | public class ObjectStaticFactoryMethod |
| Inheritance | ObjectStaticFactoryMethod ObjectMethod Object |
| Implements | IObjectFactoryStrategy |
| Property | Defined By | ||
|---|---|---|---|
![]() | arguments : Array
The array of the arguments to passed-in the factory method. | ObjectMethod | |
![]() | name : 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 | ||
| Method | Defined By | ||
|---|---|---|---|
ObjectStaticFactoryMethod(type:String, name:String, arguments:Array = null)
Creates a new ObjectStaticFactoryMethod instance. | ObjectStaticFactoryMethod | ||
build(o:Object = null):ObjectStaticFactoryMethod [static]
Returns the ObjectStaticFactoryMethod representation of the specified generic object or null. | ObjectStaticFactoryMethod | ||
| type | property |
public var type:StringThe string representation of the type name of the static factory class.
| ObjectStaticFactoryMethod | () | Constructor |
public function ObjectStaticFactoryMethod(type:String, name:String, arguments:Array = null)Creates a new ObjectStaticFactoryMethod instance.
Parameterstype: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.
|
| build | () | method |
public static function build(o:Object = null):ObjectStaticFactoryMethodReturns the ObjectStaticFactoryMethod representation of the specified generic object or null.
Parameters
o:Object (default = null) |
ObjectStaticFactoryMethod — the ObjectStaticFactoryMethod representation of the specified generic object or null.
|