Packageorg.spicefactory.parsley.core.bootstrap.impl
Classpublic class DefaultBootstrapConfig
InheritanceDefaultBootstrapConfig Inheritance Object
Implements BootstrapConfig

Default implementation of the BootstrapConfig interface.



Public Properties
 PropertyDefined By
  description : String
The description to use in log output for the new Context.
DefaultBootstrapConfig
  domain : ApplicationDomain
The ApplicationDomain to be used for reflecting on managed objects.
DefaultBootstrapConfig
  domainProvider : ApplicationDomainProvider
The provider to use for determining the ApplicationDomain when it is not specified explicitly.
DefaultBootstrapConfig
  findParentInView : Boolean
DefaultBootstrapConfig
  localScopeUuid : String
The unique id to assign to the local scope of this Context.
DefaultBootstrapConfig
  messageSettings : MessageSettings
[read-only] The settings for the MessageRouter of the new Context.
DefaultBootstrapConfig
  parents : Array
[read-only] All parent Contexts that the new Context should inherit from.
DefaultBootstrapConfig
  properties : ConfigurationProperties
[read-only] Properties that may be used to build or process ObjectDefinitions.
DefaultBootstrapConfig
  scopeExtensions : ScopeExtensionRegistry
[read-only] A registry of scope-wide extensions.
DefaultBootstrapConfig
  services : ServiceRegistry
[read-only] The services to be used for creating a new Context.
DefaultBootstrapConfig
  viewRoot : DisplayObject
The initial view root to be used for view wiring.
DefaultBootstrapConfig
  viewSettings : ViewSettings
[read-only] The settings for the ViewManager of the new Context.
DefaultBootstrapConfig
Public Methods
 MethodDefined By
  
Adds an assembler for ObjectDefinitionDecorators that should get applied for each managed object.
DefaultBootstrapConfig
  
addParent(parent:Context):void
Adds a parent that the new Context should inherit from.
DefaultBootstrapConfig
  
Adds a configuration processor.
DefaultBootstrapConfig
  
addScope(name:String, inherited:Boolean = true, uuid:String = null):void
Adds a custom scope to the new Context.
DefaultBootstrapConfig
  
Returns all decorator assemblers to apply to object definitions, including the ones added to this instance explicitly and those inherited from parent Contexts.
DefaultBootstrapConfig
Property Detail
descriptionproperty
description:String

The description to use in log output for the new Context.


Implementation
    public function get description():String
    public function set description(value:String):void
domainproperty 
domain:ApplicationDomain

The ApplicationDomain to be used for reflecting on managed objects.


Implementation
    public function get domain():ApplicationDomain
    public function set domain(value:ApplicationDomain):void
domainProviderproperty 
domainProvider:ApplicationDomainProvider

The provider to use for determining the ApplicationDomain when it is not specified explicitly.


Implementation
    public function get domainProvider():ApplicationDomainProvider
    public function set domainProvider(value:ApplicationDomainProvider):void
findParentInViewproperty 
findParentInView:Boolean


Implementation
    public function get findParentInView():Boolean
    public function set findParentInView(value:Boolean):void
localScopeUuidproperty 
localScopeUuid:String

The unique id to assign to the local scope of this Context. Will normally generated automatically and only needs to be set explicitly if you need point to point messaging between distinct scopes and want to assign ids which are meaningful for your application.


Implementation
    public function get localScopeUuid():String
    public function set localScopeUuid(value:String):void
messageSettingsproperty 
messageSettings:MessageSettings  [read-only]

The settings for the MessageRouter of the new Context.


Implementation
    public function get messageSettings():MessageSettings
parentsproperty 
parents:Array  [read-only]

All parent Contexts that the new Context should inherit from.


Implementation
    public function get parents():Array
propertiesproperty 
properties:ConfigurationProperties  [read-only]

Properties that may be used to build or process ObjectDefinitions.


Implementation
    public function get properties():ConfigurationProperties
scopeExtensionsproperty 
scopeExtensions:ScopeExtensionRegistry  [read-only]

A registry of scope-wide extensions.


Implementation
    public function get scopeExtensions():ScopeExtensionRegistry
servicesproperty 
services:ServiceRegistry  [read-only]

The services to be used for creating a new Context.


Implementation
    public function get services():ServiceRegistry
viewRootproperty 
viewRoot:DisplayObject

The initial view root to be used for view wiring. Additional view roots can be added later through Context.viewManager.addViewRoot().


Implementation
    public function get viewRoot():DisplayObject
    public function set viewRoot(value:DisplayObject):void
viewSettingsproperty 
viewSettings:ViewSettings  [read-only]

The settings for the ViewManager of the new Context.


Implementation
    public function get viewSettings():ViewSettings
Method Detail
addDecoratorAssembler()method
public function addDecoratorAssembler(assembler:DecoratorAssembler):void

Adds an assembler for ObjectDefinitionDecorators that should get applied for each managed object.

Parameters

assembler:DecoratorAssembler — the decorator assembler to add

addParent()method 
public function addParent(parent:Context):void

Adds a parent that the new Context should inherit from.

Parameters

parent:Context

addProcessor()method 
public function addProcessor(processor:ConfigurationProcessor):void

Adds a configuration processor.

Parameters

processor:ConfigurationProcessor — the processor to add

addScope()method 
public function addScope(name:String, inherited:Boolean = true, uuid:String = null):void

Adds a custom scope to the new Context. The new scope will be added to the scopes which may be inherited from a parent Context.

Parameters

name:String — the name of the scope
 
inherited:Boolean (default = true) — whether child Contexts should inherit this scope
 
uuid:String (default = null) — the unique id of this scope

getDecoratorAssemblers()method 
public function getDecoratorAssemblers(status:LookupStatus = null):Array

Returns all decorator assemblers to apply to object definitions, including the ones added to this instance explicitly and those inherited from parent Contexts.

Parameters

status:LookupStatus (default = null) — optional paramater to avoid duplicate lookups, for internal use only

Returns
Array — all decorator assemblers to apply to object definitions