| Package | system.ioc |
| Interface | public interface IObjectDefinitionContainer |
| Implementors | ObjectDefinitionContainer |
| Property | Defined By | ||
|---|---|---|---|
| numObjectDefinitions : uint [read-only]
Indicates the numbers of object definitions registered in the container. | IObjectDefinitionContainer | ||
| Method | Defined By | ||
|---|---|---|---|
addObjectDefinition(definition:IObjectDefinition):void
Registers a new object definition in the container. | IObjectDefinitionContainer | ||
clearObjectDefinition():void
Removes all the object definitions register in the container. | IObjectDefinitionContainer | ||
containsObjectDefinition(id:String):Boolean
Returns true if the object defines with the specified id is register in the container. | IObjectDefinitionContainer | ||
getObjectDefinition(id:String):IObjectDefinition
Returns the IObjectDefinition object register in the container with the specified id. | IObjectDefinitionContainer | ||
removeObjectDefinition(name:String):void
Unregisters an object definition in the container. | IObjectDefinitionContainer | ||
| numObjectDefinitions | property |
numObjectDefinitions:uint [read-only] Indicates the numbers of object definitions registered in the container.
public function get numObjectDefinitions():uint| addObjectDefinition | () | method |
public function addObjectDefinition(definition:IObjectDefinition):voidRegisters a new object definition in the container.
Parameters
definition:IObjectDefinition — The Identifiable ObjectDefinition reference to register in the container.
|
| clearObjectDefinition | () | method |
public function clearObjectDefinition():voidRemoves all the object definitions register in the container.
| containsObjectDefinition | () | method |
public function containsObjectDefinition(id:String):Boolean
Returns true if the object defines with the specified id is register in the container.
Parameters
id:String — The id of the ObjectDefinition to search.
|
Boolean — true if the object defines with the specified id is register in the container.
|
| getObjectDefinition | () | method |
public function getObjectDefinition(id:String):IObjectDefinitionReturns the IObjectDefinition object register in the container with the specified id.
Parameters
id:String — The id of the ObjectDefinition to return.
|
IObjectDefinition — the IObjectDefinition object register in the container with the specified id.
|
| removeObjectDefinition | () | method |
public function removeObjectDefinition(name:String):voidUnregisters an object definition in the container.
Parameters
name:String — The id of the object definition to remove.
|