Package | org.spicefactory.parsley.core.registry |
Interface | public interface ObjectInstantiator |
Implementors | ConstructorInstantiator |
ObjectDefinition
to delegate the object instantiation instead of simply invoking the constructor.
Method | Defined By | ||
---|---|---|---|
instantiate(target:ManagedObject):Object
Creates a new instance. | ObjectInstantiator |
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
|
Object — a new instance
|