| Package | org.springextensions.actionscript.ioc.factory.support |
| SVN browsing | IObjectDefinitionRegistry.as |
| Fisheye | IObjectDefinitionRegistry.as |
| Interface | public interface IObjectDefinitionRegistry |
| Subinterfaces | IListableObjectFactory, IXMLObjectFactory |
| Implementors | DefaultListableObjectFactory, SimpleObjectDefinitionRegistry |
| Property | Defined by | ||
|---|---|---|---|
| numObjectDefinitions : uint [read-only]
The number of object definitions in this registry.
| IObjectDefinitionRegistry | ||
| objectDefinitionNames : Array [read-only]
The names of the registered object definitions.
| IObjectDefinitionRegistry | ||
| Method | Defined by | ||
|---|---|---|---|
|
containsObjectDefinition(objectName:String):Boolean
Determines if an object definition with the given name exists
| IObjectDefinitionRegistry | ||
|
getObjectDefinition(objectName:String):IObjectDefinition
Returns the object definition registered with the given name.
| IObjectDefinitionRegistry | ||
|
getObjectDefinitionsOfType(type:Class):Array
Returns the object definitions in this registry that are of
the specified
Class. | IObjectDefinitionRegistry | ||
|
getUsedTypes():Array
Returns a unique list of all
Classes that are used by the IObjectDefinitions
in the current IObjectDefinitionRegistry. | IObjectDefinitionRegistry | ||
|
registerObjectDefinition(objectName:String, objectDefinition:IObjectDefinition):void
Registers the given objectDefinition under the given name.
| IObjectDefinitionRegistry | ||
|
removeObjectDefinition(objectName:String):void
Removes the definition with the given name from the registry
| IObjectDefinitionRegistry | ||
| numObjectDefinitions | property |
numObjectDefinitions:uint [read-only]The number of object definitions in this registry.
Implementation public function get numObjectDefinitions():uint
| objectDefinitionNames | property |
objectDefinitionNames:Array [read-only]The names of the registered object definitions.
Implementation public function get objectDefinitionNames():Array
| containsObjectDefinition | () | method |
public function containsObjectDefinition(objectName:String):BooleanDetermines if an object definition with the given name exists
ParametersobjectName:String — The name/id of the object definition
|
Boolean |
| getObjectDefinition | () | method |
public function getObjectDefinition(objectName:String):IObjectDefinition
Returns the object definition registered with the given name. If the object
definition does not exist undefined will be returned.
objectName:String — the name/id of the definition to retrieve
|
IObjectDefinition —
the registered object definition
|
NoSuchObjectDefinitionError — if the object definition was not found in the registry
|
| getObjectDefinitionsOfType | () | method |
public function getObjectDefinitionsOfType(type:Class):Array
Returns the object definitions in this registry that are of
the specified Class.
type:Class — The specified Class that is searched for.
|
Array — an array containing definitions that implement the specified Class.
|
| getUsedTypes | () | method |
public function getUsedTypes():Array
Returns a unique list of all Classes that are used by the IObjectDefinitions
in the current IObjectDefinitionRegistry.
Array — A unique list of all Classes.
|
| registerObjectDefinition | () | method |
public function registerObjectDefinition(objectName:String, objectDefinition:IObjectDefinition):voidRegisters the given objectDefinition under the given name.
ParametersobjectName:String — the name under which the object definition should be stored
|
|
objectDefinition:IObjectDefinition — the object definition to store
|
| removeObjectDefinition | () | method |
public function removeObjectDefinition(objectName:String):voidRemoves the definition with the given name from the registry
ParametersobjectName:String — The name/id of the definition to remove
|