Packagesystem.ioc.strategies
Classpublic class ObjectFactoryReference
InheritanceObjectFactoryReference Inheritance Object
Implements IObjectFactoryStrategy

This stategy get a reference in the IoC factory if the "factoryReference" attribute is used in the object definition.



Public Properties
 PropertyDefined By
  ref : String
The reference id of this strategy factory.
ObjectFactoryReference
Public Methods
 MethodDefined By
  
Creates a new ObjectFactoryReference instance.
ObjectFactoryReference
  
[static] Returns the ObjectFactoryReference representation of the specified value or null.
ObjectFactoryReference
Property Detail
refproperty
public var ref:String

The reference id of this strategy factory.

Constructor Detail
ObjectFactoryReference()Constructor
public function ObjectFactoryReference(ref:String)

Creates a new ObjectFactoryReference instance.

Parameters
ref:String — The reference id String representation of an objet definition in the factory.
Method Detail
build()method
public static function build(ref:String):ObjectFactoryReference

Returns the ObjectFactoryReference representation of the specified value or null.

Parameters

ref:String

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