Packagesystem.ioc
Interfacepublic interface IObjectDefinition extends Identifiable
Implementors ObjectDefinition

Describes an object instance, which has property values, constructor argument values, and further information supplied by concrete implementations.



Public Properties
 PropertyDefined By
 Inheritedid : *
Indicates the id value of this object.
Identifiable
  identify : *
Indicates if the object definition is a singleton and the type of the object is Identifiable if the object must be populated with the id of the definition when is instanciated.
IObjectDefinition
  lock : *
Indicates if the object definition lock this Lockable object during the population of the properties and the initialization of the methods defines in the object definition.
IObjectDefinition
Public Methods
 MethodDefined By
  
Returns the Array of all listener definitions of this object definition register after the object initialization.
IObjectDefinition
  
Returns the Array of all receiver definitions of this object definition register after the object initialization.
IObjectDefinition
  
Returns the Array of all listener definitions of this object definition register before the object initialization.
IObjectDefinition
  
Returns the Array of all receiver definitions of this object definition register before the object initialization.
IObjectDefinition
  
Returns the constructor arguments values of this object in a Array list.
IObjectDefinition
  
getDependsOn():Array
Returns the collection (Array) defines in the "dependsOn" attribute.
IObjectDefinition
  
Returns the name of the method invoked when the object is destroyed.
IObjectDefinition
  
Returns the factory stategy of this definition to create the object.
IObjectDefinition
  
getGenerates():Array
Returns the collection (Array) defines in the "generates" attribute.
IObjectDefinition
  
Returns the name of the method call when the object is instanciate.
IObjectDefinition
  
Returns the Array of all properties of this Definition.
IObjectDefinition
  
getScope():String
Determinates the scope of the object.
IObjectDefinition
  
getType():String
Determinates the type of the object (the class name).
IObjectDefinition
  
isLazyInit():Boolean
Indicates if the object lazily initialized.
IObjectDefinition
  
isSingleton():Boolean
Returns true if the object in a Sigleton else the object is a prototype.
IObjectDefinition
  
setConstructorArguments(value:Array = null):void
Sets the constructor arguments values of this object.
IObjectDefinition
  
setDependsOn(ar:Array):void
Sets the collection (Array) defines in the "dependsOn" attribute.
IObjectDefinition
  
setDestroyMethodName(value:String = null):void
Sets the name of the method invoked when the object is destroyed.
IObjectDefinition
  
Sets the factory stategy of this definition to create the object.
IObjectDefinition
  
setGenerates(ar:Array):void
Sets the collection (Array) defines in the "generates" attribute.
IObjectDefinition
  
setInitMethodName(value:String = null):void
Init the name of the method.
IObjectDefinition
  
setListeners(ar:Array = null):void
Sets the Array of all listener definition of this object definition.
IObjectDefinition
  
setProperties(ar:Array = null):void
Sets the Array of all properties of this definition.
IObjectDefinition
  
setReceivers(ar:Array = null):void
Sets the Array of all receiver definition of this object definition.
IObjectDefinition
  
setScope(scope:String = null):void
Sets the scope of the object.
IObjectDefinition
  
setType(value:String = null):void
Sets the type of the object (the class name).
IObjectDefinition
Property Detail
identifyproperty
identify:*

Indicates if the object definition is a singleton and the type of the object is Identifiable if the object must be populated with the id of the definition when is instanciated.


Implementation
    public function get identify():*
    public function set identify(value:any):void
lockproperty 
lock:*

Indicates if the object definition lock this Lockable object during the population of the properties and the initialization of the methods defines in the object definition.


Implementation
    public function get lock():*
    public function set lock(value:any):void
Method Detail
getAfterListeners()method
public function getAfterListeners():Array

Returns the Array of all listener definitions of this object definition register after the object initialization.

Returns
Array — the Array of all listener definitions of this object definition register after the object initialization.
getAfterReceivers()method 
public function getAfterReceivers():Array

Returns the Array of all receiver definitions of this object definition register after the object initialization.

Returns
Array — the Array of all receiver definitions of this object definition register after the object initialization.
getBeforeListeners()method 
public function getBeforeListeners():Array

Returns the Array of all listener definitions of this object definition register before the object initialization.

Returns
Array — the Array of all listener definitions of this object definition register before the object initialization.
getBeforeReceivers()method 
public function getBeforeReceivers():Array

Returns the Array of all receiver definitions of this object definition register before the object initialization.

Returns
Array — the Array of all receiver definitions of this object definition register before the object initialization.
getConstructorArguments()method 
public function getConstructorArguments():Array

Returns the constructor arguments values of this object in a Array list.

Returns
Array — the constructor arguments values of this object in a Array list.
getDependsOn()method 
public function getDependsOn():Array

Returns the collection (Array) defines in the "dependsOn" attribute.

Returns
Array — the collection (Array) defines in the "dependsOn" attribute.
getDestroyMethodName()method 
public function getDestroyMethodName():String

Returns the name of the method invoked when the object is destroyed.

Returns
String — the name of the method invoked when the object is destroyed.
getFactoryStrategy()method 
public function getFactoryStrategy():IObjectFactoryStrategy

Returns the factory stategy of this definition to create the object.

Returns
IObjectFactoryStrategy — the factory stategy of this definition to create the object.
getGenerates()method 
public function getGenerates():Array

Returns the collection (Array) defines in the "generates" attribute.

Returns
Array — the collection (Array) defines in the "generates" attribute.
getInitMethodName()method 
public function getInitMethodName():String

Returns the name of the method call when the object is instanciate.

Returns
String — the name of the method call when the object is instanciate.
getProperties()method 
public function getProperties():Array

Returns the Array of all properties of this Definition.

Returns
Array — the Array of all properties of this Definition.
getScope()method 
public function getScope():String

Determinates the scope of the object.

Returns
String
getType()method 
public function getType():String

Determinates the type of the object (the class name).

Returns
String
isLazyInit()method 
public function isLazyInit():Boolean

Indicates if the object lazily initialized. Only applicable to a singleton object. If false, it will get instantiated on startup by object factories that perform eager initialization of singletons.

Returns
Boolean — A boolean who indicates if the object lazily initialized.
isSingleton()method 
public function isSingleton():Boolean

Returns true if the object in a Sigleton else the object is a prototype.

Returns
Booleantrue if the object in a Sigleton else the object is a prototype.
setConstructorArguments()method 
public function setConstructorArguments(value:Array = null):void

Sets the constructor arguments values of this object.

Parameters

value:Array (default = null)

setDependsOn()method 
public function setDependsOn(ar:Array):void

Sets the collection (Array) defines in the "dependsOn" attribute.

Parameters

ar:Array

setDestroyMethodName()method 
public function setDestroyMethodName(value:String = null):void

Sets the name of the method invoked when the object is destroyed.

Parameters

value:String (default = null)

setFactoryStrategy()method 
public function setFactoryStrategy(value:IObjectFactoryStrategy):void

Sets the factory stategy of this definition to create the object.

Parameters

value:IObjectFactoryStrategy

setGenerates()method 
public function setGenerates(ar:Array):void

Sets the collection (Array) defines in the "generates" attribute.

Parameters

ar:Array

setInitMethodName()method 
public function setInitMethodName(value:String = null):void

Init the name of the method.

Parameters

value:String (default = null)

setListeners()method 
public function setListeners(ar:Array = null):void

Sets the Array of all listener definition of this object definition.

Parameters

ar:Array (default = null) — the Array of all listener definitions of the object.

setProperties()method 
public function setProperties(ar:Array = null):void

Sets the Array of all properties of this definition.

Parameters

ar:Array (default = null)

setReceivers()method 
public function setReceivers(ar:Array = null):void

Sets the Array of all receiver definition of this object definition.

Parameters

ar:Array (default = null) — the Array of all receiver definitions of the object.

setScope()method 
public function setScope(scope:String = null):void

Sets the scope of the object.

Parameters

scope:String (default = null)

setType()method 
public function setType(value:String = null):void

Sets the type of the object (the class name).

Parameters

value:String (default = null)