| Package | org.spicefactory.parsley.instantiator |
| Class | public class ConstructorInstantiator |
| Inheritance | ConstructorInstantiator Object |
| Implements | ObjectInstantiator |
| Method | Defined By | ||
|---|---|---|---|
ConstructorInstantiator(unresolvedParams:Array)
Creates a new instantiator instance. | ConstructorInstantiator | ||
instantiate(target:ManagedObject):Object
Creates a new instance. | ConstructorInstantiator | ||
| ConstructorInstantiator | () | Constructor |
public function ConstructorInstantiator(unresolvedParams:Array)Creates a new instantiator instance.
ParametersunresolvedParams:Array — the unresolved constructor parameters
|
| instantiate | () | method |
public function instantiate(target:ManagedObject):ObjectCreates 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
|