| Package | org.spicefactory.parsley.core.bootstrap |
| Interface | public interface BootstrapConfig |
| Implementors | DefaultBootstrapConfig |
BootstrapDefaults.config.
| Property | Defined By | ||
|---|---|---|---|
| description : String
The description to use in log output for the new Context. | BootstrapConfig | ||
| domain : ApplicationDomain
The ApplicationDomain to be used for reflecting on managed objects. | BootstrapConfig | ||
| domainProvider : ApplicationDomainProvider
The provider to use for determining the ApplicationDomain when it is not specified explicitly. | BootstrapConfig | ||
| findParentInView : Boolean
Specifies whether the new Context should automatically find a parent Context
in the view hierarchy above the view root. | BootstrapConfig | ||
| localScopeUuid : String
The unique id to assign to the local scope of this Context. | BootstrapConfig | ||
| messageSettings : MessageSettings [read-only]
The settings for the MessageRouter of the new Context. | BootstrapConfig | ||
| parents : Array [read-only]
All parent Contexts that the new Context should inherit from. | BootstrapConfig | ||
| properties : ConfigurationProperties [read-only]
Properties that may be used to build or process ObjectDefinitions. | BootstrapConfig | ||
| scopeExtensions : ScopeExtensionRegistry [read-only]
A registry of scope-wide extensions. | BootstrapConfig | ||
| services : ServiceRegistry [read-only]
The services to be used for creating a new Context. | BootstrapConfig | ||
| viewRoot : DisplayObject
The initial view root to be used for view wiring. | BootstrapConfig | ||
| viewSettings : ViewSettings [read-only]
The settings for the ViewManager of the new Context. | BootstrapConfig | ||
| Method | Defined By | ||
|---|---|---|---|
addDecoratorAssembler(assembler:DecoratorAssembler):void
Adds an assembler for ObjectDefinitionDecorators that should
get applied for each managed object. | BootstrapConfig | ||
Adds a parent that the new Context should inherit from. | BootstrapConfig | ||
addProcessor(processor:ConfigurationProcessor):void
Adds a configuration processor. | BootstrapConfig | ||
addScope(name:String, inherited:Boolean = true, uuid:String = null):void
Adds a custom scope to the new Context. | BootstrapConfig | ||
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. | BootstrapConfig | ||
| description | property |
description:StringThe 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:ApplicationDomainThe ApplicationDomain to be used for reflecting on managed objects.
public function get domain():ApplicationDomain public function set domain(value:ApplicationDomain):void| domainProvider | property |
domainProvider:ApplicationDomainProviderThe 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:BooleanSpecifies whether the new Context should automatically find a parent Context in the view hierarchy above the view root. The default is true. When a parent is found in the view hierarchy it will get added to the list of Contexts specified explicitly on this instance.
public function get findParentInView():Boolean public function set findParentInView(value:Boolean):void| localScopeUuid | property |
localScopeUuid:StringThe 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):voidAdds 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):voidAdds a parent that the new Context should inherit from.
Parameters
parent:Context |
| addProcessor | () | method |
public function addProcessor(processor:ConfigurationProcessor):voidAdds a configuration processor.
Parameters
processor:ConfigurationProcessor — the processor to add
|
| addScope | () | method |
public function addScope(name:String, inherited:Boolean = true, uuid:String = null):voidAdds 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):ArrayReturns 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
|