Package | org.spicefactory.parsley.core.builder.ref |
Class | public class ImplicitObjectTypeReference |
Inheritance | ImplicitObjectTypeReference ObjectTypeReference Object |
Implements | ImplicitTypeReference |
Method | Defined By | ||
---|---|---|---|
ImplicitObjectTypeReference(required:Boolean = true, defaultValue:Object = null)
Creates a new instance. | ImplicitObjectTypeReference | ||
expectedType(type:Class):void
Invoked by the container to pass the target type deduced
by reflecting on the member. | ImplicitObjectTypeReference | ||
resolve(target:ManagedObject):* | ObjectTypeReference |
ImplicitObjectTypeReference | () | Constructor |
public function ImplicitObjectTypeReference(required:Boolean = true, defaultValue:Object = null)
Creates a new instance.
Parametersrequired:Boolean (default = true ) — whether this instance represents a required dependency
| |
defaultValue:Object (default = null ) — the value to inject when no matching type can be found
|
expectedType | () | method |
public function expectedType(type:Class):void
Invoked by the container to pass the target type deduced by reflecting on the member.
Parameters
type:Class — the target type as determined by the container
|