Package | org.spicefactory.parsley.core.builder.instantiator |
Class | public class ObjectWrapperInstantiator |
Inheritance | ObjectWrapperInstantiator Object |
Implements | ContainerObjectInstantiator |
Method | Defined By | ||
---|---|---|---|
ObjectWrapperInstantiator(instance:Object)
Creates a new instantiator instance. | ObjectWrapperInstantiator | ||
instantiate(target:ManagedObject):Object
Creates a new instance. | ObjectWrapperInstantiator |
ObjectWrapperInstantiator | () | Constructor |
public function ObjectWrapperInstantiator(instance:Object)
Creates a new instantiator instance.
Parametersinstance:Object — the existing instance to wrap
|
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
|