Packageorg.spicefactory.parsley.core.registry
Interfacepublic interface ObjectInstantiator
Implementors ConstructorInstantiator

An object responsible for creating instances. Such an object may be registered with a ObjectDefinition to delegate the object instantiation instead of simply invoking the constructor.



Public Methods
 MethodDefined By
  
instantiate(target:ManagedObject):Object
Creates a new instance.
ObjectInstantiator
Method Detail
instantiate()method
public function instantiate(target:ManagedObject):Object

Creates a new instance. The specified ManagedObject instance may be used to resolve dependencies for the new object.

Parameters

target:ManagedObject — the target that will hold the new instance

Returns
Object — a new instance