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