Package | org.spicefactory.parsley.core.bootstrap.impl |
Class | public class DefaultBootstrapConfig |
Inheritance | DefaultBootstrapConfig Object |
Implements | BootstrapConfig |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
addDecoratorAssembler(assembler:DecoratorAssembler):void
Adds an assembler for ObjectDefinitionDecorators that should
get applied for each managed object. | DefaultBootstrapConfig | ||
Adds a parent that the new Context should inherit from. | DefaultBootstrapConfig | ||
addProcessor(processor:ConfigurationProcessor):void
Adds a configuration processor. | DefaultBootstrapConfig | ||
addScope(name:String, inherited:Boolean = true, uuid:String = null):void
Adds a custom scope to the new Context. | DefaultBootstrapConfig | ||
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. | DefaultBootstrapConfig |
description | property |
description:String
The description to use in log output for the new Context.
public function get description():String
public function set description(value:String):void
domain | property |
domain:ApplicationDomain
The ApplicationDomain to be used for reflecting on managed objects.
public function get domain():ApplicationDomain
public function set domain(value:ApplicationDomain):void
domainProvider | property |
domainProvider:ApplicationDomainProvider
The provider to use for determining the ApplicationDomain when it is not specified explicitly.
public function get domainProvider():ApplicationDomainProvider
public function set domainProvider(value:ApplicationDomainProvider):void
findParentInView | property |
findParentInView:Boolean
public function get findParentInView():Boolean
public function set findParentInView(value:Boolean):void
localScopeUuid | property |
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.
public function get localScopeUuid():String
public function set localScopeUuid(value:String):void
messageSettings | property |
messageSettings:MessageSettings
[read-only] The settings for the MessageRouter of the new Context.
public function get messageSettings():MessageSettings
parents | property |
parents:Array
[read-only] All parent Contexts that the new Context should inherit from.
public function get parents():Array
properties | property |
properties:ConfigurationProperties
[read-only] Properties that may be used to build or process ObjectDefinitions.
public function get properties():ConfigurationProperties
scopeExtensions | property |
scopeExtensions:ScopeExtensionRegistry
[read-only] A registry of scope-wide extensions.
public function get scopeExtensions():ScopeExtensionRegistry
services | property |
services:ServiceRegistry
[read-only] The services to be used for creating a new Context.
public function get services():ServiceRegistry
viewRoot | property |
viewRoot:DisplayObject
The initial view root to be used for view wiring.
Additional view roots can be added later through Context.viewManager.addViewRoot()
.
public function get viewRoot():DisplayObject
public function set viewRoot(value:DisplayObject):void
viewSettings | property |
viewSettings:ViewSettings
[read-only] The settings for the ViewManager of the new Context.
public function get viewSettings():ViewSettings
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
|
Array — all decorator assemblers to apply to object definitions
|