| Package | org.springextensions.actionscript.ioc.objectdefinition |
| Interface | public interface IObjectDefinition |
| Implementors | ObjectDefinition |
| Property | Defined By | ||
|---|---|---|---|
| autoWireMode : AutowireMode
Determines the way an object will be autowired (configured). | IObjectDefinition | ||
| childContextAccess : ChildContextObjectDefinitionAccess
Determines if the current IObjectDefinition will be injected into child contexts. | IObjectDefinition | ||
| className : String
The fully qualified classname of the object that the current IObjectDefinition describes. | IObjectDefinition | ||
| clazz : Class
The Class of the object that the current IObjectDefinition describes. | IObjectDefinition | ||
| constructorArguments : Array
An array of arguments that will be passed to the constructor of the object. | IObjectDefinition | ||
| customConfiguration : *
Optional extra data that can be used by other processing logic. | IObjectDefinition | ||
| dependencyCheck : DependencyCheckMode
Determines if and how the object properties dependencies should be checked. | IObjectDefinition | ||
| dependsOn : Vector.<String>
Returns the object names that this object depends on. | IObjectDefinition | ||
| destroyMethod : String
The name of a method on the class defined by the className property that will be called when the
application context is disposed. | IObjectDefinition | ||
| factoryMethod : String
The name of method responsible for the creation of the object. | IObjectDefinition | ||
| factoryObjectName : String
The name of the factory object responsible for the creation of the object. | IObjectDefinition | ||
| initMethod : String
The name of a method on the class defined by the className property that will be called immediately after the
object has been configured. | IObjectDefinition | ||
| isAbstract : Boolean | IObjectDefinition | ||
| isAutoWireCandidate : Boolean
True if this object can be used as a value used by the container when it autowires an object by type. | IObjectDefinition | ||
| isInterface : Boolean
Determines if the class whose configuration is described by the current IObjectDefinition is an interface;
| IObjectDefinition | ||
| isLazyInit : Boolean
True if the object does not need to be eagerly pre-instantiated by the container. | IObjectDefinition | ||
| isSingleton : Boolean
True if only one instance of this object needs to be created by the container, i.e. | IObjectDefinition | ||
| methodInvocations : Vector.<MethodInvocation> [read-only]
Defines the method invocations executed after an object from this definition is created. | IObjectDefinition | ||
| parent : IObjectDefinition
An IObjectDefinition whose properties will be inherited by the current IObjectDefinition. | IObjectDefinition | ||
| parentName : String
The name of an IObjectDefinition whose properties will be inherited by the current IObjectDefinition. | IObjectDefinition | ||
| primary : Boolean
True if this object needs to be used as the primary autowire candidate when the container is autowiring by type. | IObjectDefinition | ||
| properties : Vector.<PropertyDefinition> [read-only]
An anonymous object whose property values will be injected into the created object, the property names
on this object are the same as on the created object. | IObjectDefinition | ||
| registryId : String
The id of the IObjectDefinitionRegistry that the current IObjectDefinition was first registered with. | IObjectDefinition | ||
| scope : ObjectDefinitionScope
Defines the scope of the object, the object is either a singleton, a prototype or a stage object. | IObjectDefinition | ||
| skipMetadata : Boolean
Determines whether the autowire processor will examine the class metadata. | IObjectDefinition | ||
| skipPostProcessors : Boolean
Determines whether the object factory will send the created object through its list of IObjectProcessors. | IObjectDefinition | ||
| Method | Defined By | ||
|---|---|---|---|
addMethodInvocation(methodInvocation:MethodInvocation):void | IObjectDefinition | ||
addPropertyDefinition(propertyDefinition:PropertyDefinition):void | IObjectDefinition | ||
getMethodInvocationByName(name:String, namespace:String = null):MethodInvocation | IObjectDefinition | ||
getPropertyDefinitionByName(name:String, namespace:String = null):PropertyDefinition | IObjectDefinition | ||
| autoWireMode | property |
autoWireMode:AutowireModeDetermines the way an object will be autowired (configured).
public function get autoWireMode():AutowireMode public function set autoWireMode(value:AutowireMode):void| childContextAccess | property |
childContextAccess:ChildContextObjectDefinitionAccess
Determines if the current IObjectDefinition will be injected into child contexts.
public function get childContextAccess():ChildContextObjectDefinitionAccess public function set childContextAccess(value:ChildContextObjectDefinitionAccess):void| className | property |
className:String
The fully qualified classname of the object that the current IObjectDefinition describes.
public function get className():String public function set className(value:String):void| clazz | property |
clazz:Class
The Class of the object that the current IObjectDefinition describes.
public function get clazz():Class public function set clazz(value:Class):void| constructorArguments | property |
constructorArguments:ArrayAn array of arguments that will be passed to the constructor of the object.
public function get constructorArguments():Array public function set constructorArguments(value:Array):void| customConfiguration | property |
customConfiguration:*
Optional extra data that can be used by other processing logic. May also be an instance of ICustomConfigurator or an instance of Vector.<ICustomConfigurator>
public function get customConfiguration():* public function set customConfiguration(value:any):void| dependencyCheck | property |
dependencyCheck:DependencyCheckModeDetermines if and how the object properties dependencies should be checked.
public function get dependencyCheck():DependencyCheckMode public function set dependencyCheck(value:DependencyCheckMode):void| dependsOn | property |
dependsOn:Vector.<String>Returns the object names that this object depends on.
public function get dependsOn():Vector.<String> public function set dependsOn(value:Vector.<String>):void| destroyMethod | property |
destroyMethod:String
The name of a method on the class defined by the className property that will be called when the
application context is disposed. Destroy methods are used to release resources that are being kept by an object.
public function get destroyMethod():String public function set destroyMethod(value:String):void| factoryMethod | property |
factoryMethod:String
The name of method responsible for the creation of the object. This is either a static method of class defined
by the className property or the name of a method on the object defined by the factoryObjectName property.
public function get factoryMethod():String public function set factoryMethod(value:String):void| factoryObjectName | property |
factoryObjectName:StringThe name of the factory object responsible for the creation of the object.
public function get factoryObjectName():String public function set factoryObjectName(value:String):void| initMethod | property |
initMethod:String
The name of a method on the class defined by the className property that will be called immediately after the
object has been configured.
public function get initMethod():String public function set initMethod(value:String):void| isAbstract | property |
isAbstract:Boolean
public function get isAbstract():Boolean public function set isAbstract(value:Boolean):void| isAutoWireCandidate | property |
isAutoWireCandidate:BooleanTrue if this object can be used as a value used by the container when it autowires an object by type.
public function get isAutoWireCandidate():Boolean public function set isAutoWireCandidate(value:Boolean):void| isInterface | property |
isInterface:Boolean
Determines if the class whose configuration is described by the current IObjectDefinition is an interface;
public function get isInterface():Boolean public function set isInterface(value:Boolean):void| isLazyInit | property |
isLazyInit:Boolean
True if the object does not need to be eagerly pre-instantiated by the container. I.e. the object will be created
after the first call to the getObject() method.
public function get isLazyInit():Boolean public function set isLazyInit(value:Boolean):voidSee also
| isSingleton | property |
isSingleton:Boolean
True if only one instance of this object needs to be created by the container, i.e. every subsequent call to the getObject()
method will return the same instance.
public function get isSingleton():Boolean public function set isSingleton(value:Boolean):voidSee also
| methodInvocations | property |
methodInvocations:Vector.<MethodInvocation> [read-only] Defines the method invocations executed after an object from this definition is created.
public function get methodInvocations():Vector.<MethodInvocation>| parent | property |
parent:IObjectDefinition
An IObjectDefinition whose properties will be inherited by the current IObjectDefinition.
public function get parent():IObjectDefinition public function set parent(value:IObjectDefinition):void| parentName | property |
parentName:String
The name of an IObjectDefinition whose properties will be inherited by the current IObjectDefinition.
public function get parentName():String public function set parentName(value:String):void| primary | property |
primary:BooleanTrue if this object needs to be used as the primary autowire candidate when the container is autowiring by type. This means that if multiple objects are found of the same type, the object marked as 'primary' will become the autowire candidate.
public function get primary():Boolean public function set primary(value:Boolean):void| properties | property |
properties:Vector.<PropertyDefinition> [read-only] An anonymous object whose property values will be injected into the created object, the property names on this object are the same as on the created object.
public function get properties():Vector.<PropertyDefinition>| registryId | property |
registryId:String
The id of the IObjectDefinitionRegistry that the current IObjectDefinition was first registered with.
public function get registryId():String public function set registryId(value:String):void| scope | property |
scope:ObjectDefinitionScopeDefines the scope of the object, the object is either a singleton, a prototype or a stage object.
public function get scope():ObjectDefinitionScope public function set scope(value:ObjectDefinitionScope):void| skipMetadata | property |
skipMetadata:BooleanDetermines whether the autowire processor will examine the class metadata.
public function get skipMetadata():Boolean public function set skipMetadata(value:Boolean):void| skipPostProcessors | property |
skipPostProcessors:Boolean
Determines whether the object factory will send the created object through its list of IObjectProcessors.
public function get skipPostProcessors():Boolean public function set skipPostProcessors(value:Boolean):void| addMethodInvocation | () | method |
public function addMethodInvocation(methodInvocation:MethodInvocation):void
Parameters
methodInvocation:MethodInvocation |
| addPropertyDefinition | () | method |
public function addPropertyDefinition(propertyDefinition:PropertyDefinition):void
Parameters
propertyDefinition:PropertyDefinition |
| getMethodInvocationByName | () | method |
public function getMethodInvocationByName(name:String, namespace:String = null):MethodInvocation
Parameters
name:String | |
namespace:String (default = null) |
MethodInvocation —
|
| getPropertyDefinitionByName | () | method |
public function getPropertyDefinitionByName(name:String, namespace:String = null):PropertyDefinition
Parameters
name:String | |
namespace:String (default = null) |
PropertyDefinition —
|