Package | org.spicefactory.parsley.core.registry |
Interface | public interface SingletonObjectDefinition extends ObjectDefinition |
Implementors | DefaultSingletonObjectDefinition, SingletonObjectDefinitionWrapper |
Property | Defined By | ||
---|---|---|---|
asyncInitConfig : AsyncInitConfig
The configuration for asynchronously initializing objects. | SingletonObjectDefinition | ||
frozen : Boolean [read-only]
Indicates whether this definition has been frozen. | ObjectDefinition | ||
id : String [read-only]
The id the object should be registered with. | ObjectDefinition | ||
instantiator : ObjectInstantiator
The object responsible for creating instances from this definition. | ObjectDefinition | ||
lazy : Boolean [read-only]
Indicates whether this object should be lazily initialized. | SingletonObjectDefinition | ||
order : int [read-only]
The processing order for this object. | SingletonObjectDefinition | ||
processors : Array [read-only]
Returns all processor factories added to this instance. | ObjectDefinition | ||
registry : ObjectDefinitionRegistry [read-only]
The registry this definition is associated with. | ObjectDefinition | ||
type : ClassInfo [read-only]
The type of the configured object. | ObjectDefinition |
asyncInitConfig | property |
asyncInitConfig:AsyncInitConfig
The configuration for asynchronously initializing objects.
public function get asyncInitConfig():AsyncInitConfig
public function set asyncInitConfig(value:AsyncInitConfig):void
lazy | property |
lazy:Boolean
[read-only] Indicates whether this object should be lazily initialized. If set to false the object will be instantiated upon Context initialization.
public function get lazy():Boolean
order | property |
order:int
[read-only] 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.
public function get order():int