Packagesystem.ioc.strategies
Classpublic class ObjectFactoryValue
InheritanceObjectFactoryValue Inheritance Object
Implements IObjectFactoryStrategy

This stategy create an object in the IoC factory with an easy value if the attribute "factoryValue" is used in the object definition.



Public Properties
 PropertyDefined By
  value : *
The value of this strategy factory.
ObjectFactoryValue
Public Methods
 MethodDefined By
  
Creates a new ObjectFactoryValue instance.
ObjectFactoryValue
  
build(value:* = null):ObjectFactoryValue
[static] Returns the ObjectFactoryValue representation of the specified value or null.
ObjectFactoryValue
Property Detail
valueproperty
public var value:*

The value of this strategy factory.

Constructor Detail
ObjectFactoryValue()Constructor
public function ObjectFactoryValue(value:*)

Creates a new ObjectFactoryValue instance.

Parameters
value:* — The value used in the factory strategy.
Method Detail
build()method
public static function build(value:* = null):ObjectFactoryValue

Returns the ObjectFactoryValue representation of the specified value or null.

Parameters

value:* (default = null)

Returns
ObjectFactoryValue — the ObjectFactoryValue representation of the specified value or null.