Package | org.spicefactory.parsley.object |
Class | public class ObjectReferenceTag |
Inheritance | ObjectReferenceTag Object |
Implements | NestedConfigurationElement |
Subclasses | PropertyTag |
idRef
and typeRef
properties are mutually exclusive.
Property | Defined By | ||
---|---|---|---|
idRef : String
The id of the referenced object. | ObjectReferenceTag | ||
required : Boolean = true
Indicates whether this instance represents a required dependency. | ObjectReferenceTag | ||
typeRef : Class
The type of the referenced object. | ObjectReferenceTag |
Method | Defined By | ||
---|---|---|---|
resolve(registry:ObjectDefinitionRegistry):Object
Returns the resolved value represented by this element. | ObjectReferenceTag |
idRef | property |
public var idRef:String
The id of the referenced object.
required | property |
public var required:Boolean = true
Indicates whether this instance represents a required dependency.
typeRef | property |
public var typeRef:Class
The type of the referenced object.
resolve | () | method |
public function resolve(registry:ObjectDefinitionRegistry):Object
Returns the resolved value represented by this element.
Parameters
registry:ObjectDefinitionRegistry — the registry associated with this element
|
Object — the resolved value represented by this element
|