Packageorg.spicefactory.parsley.object
Classpublic class RootObjectTag
InheritanceRootObjectTag Inheritance Object
Implements RootConfigurationElement
Subclasses MxmlRootObjectTag

Represents the root object tag for an object definition in MXML or XML configuration.

Default MXML Propertydecorators



Public Properties
 PropertyDefined By
  decorators : Array
The ObjectDefinitionDecorator instances added to this definition.
RootObjectTag
  id : String
The id the object should be registered with.
RootObjectTag
  lazy : Boolean = false
Indicates whether this object should be lazily initialized.
RootObjectTag
  order : int = 2.147483647E9
The processing order for this object.
RootObjectTag
  type : Class
The type of the object configured by this definition.
RootObjectTag
Public Methods
 MethodDefined By
  
Processes this configuration tag, possilbly creating and registering object definitions.
RootObjectTag
Property Detail
decoratorsproperty
public var decorators:Array

The ObjectDefinitionDecorator instances added to this definition.

idproperty 
public var id:String

The id the object should be registered with.

lazyproperty 
public var lazy:Boolean = false

Indicates whether this object should be lazily initialized. If set to false the object will be instantiated upon Context initialization.

orderproperty 
public var order:int = 2.147483647E9

The processing order for this object. Only has an effect for non-lazy singletons. Those are instantiated when the Context initializes and this property allows to determine the initialization order of these singletons. Will be processed in ascending order.

typeproperty 
public var type:Class

The type of the object configured by this definition.

Method Detail
process()method
public function process(registry:ObjectDefinitionRegistry):void

Processes this configuration tag, possilbly creating and registering object definitions.

Parameters

registry:ObjectDefinitionRegistry — the registry associated with this element