| Package | org.spicefactory.parsley.core.scope.impl |
| Class | public class DefaultScopeInfo |
| Inheritance | DefaultScopeInfo Object |
| Implements | ScopeInfo |
| Property | Defined By | ||
|---|---|---|---|
| commandManager : CommandManager [read-only]
The manager for active commands in this scope. | DefaultScopeInfo | ||
| extensions : ScopeExtensions [read-only]
The extensions registered for this scope. | DefaultScopeInfo | ||
| inherited : Boolean [read-only]
Indicates whether this scope will be inherited by child Contexts. | DefaultScopeInfo | ||
| lifecycleObservers : LifecycleObserverRegistry [read-only]
The registry for observers of lifecycle events dispatched by objects within this scope. | DefaultScopeInfo | ||
| messageReceivers : MessageReceiverRegistry [read-only]
The registry for receivers of application messages dispatched through this scope. | DefaultScopeInfo | ||
| name : String [read-only]
The name of the scope. | DefaultScopeInfo | ||
| objectLifecycle : ObjectLifecycleScope Deprecated: Deprecated [read-only] | DefaultScopeInfo | ||
| rootContext : Context [read-only]
The root Context of this scope. | DefaultScopeInfo | ||
| uuid : String [read-only]
The unique id of the scope. | DefaultScopeInfo | ||
| Method | Defined By | ||
|---|---|---|---|
DefaultScopeInfo(scopeDef:ScopeDefinition, rootContext:Context, settings:MessageSettings, extensions:Dictionary, domainManager:GlobalDomainManager)
Creates a new instance. | DefaultScopeInfo | ||
addActiveCommand(command:Command):void
Adds an actice command to the command manager of this scope. | DefaultScopeInfo | ||
Returns the cache of lifecycle observers for the specified object type. | DefaultScopeInfo | ||
Returns the cache of message receivers for the specified message type. | DefaultScopeInfo | ||
| commandManager | property |
commandManager:CommandManager [read-only] The manager for active commands in this scope.
public function get commandManager():CommandManager| extensions | property |
extensions:ScopeExtensions [read-only] The extensions registered for this scope.
public function get extensions():ScopeExtensions| inherited | property |
inherited:Boolean [read-only] Indicates whether this scope will be inherited by child Contexts.
public function get inherited():Boolean| lifecycleObservers | property |
lifecycleObservers:LifecycleObserverRegistry [read-only] The registry for observers of lifecycle events dispatched by objects within this scope.
public function get lifecycleObservers():LifecycleObserverRegistry| messageReceivers | property |
messageReceivers:MessageReceiverRegistry [read-only] The registry for receivers of application messages dispatched through this scope.
public function get messageReceivers():MessageReceiverRegistry| name | property |
name:String [read-only] The name of the scope.
public function get name():String| objectLifecycle | property |
objectLifecycle:ObjectLifecycleScope [read-only] public function get objectLifecycle():ObjectLifecycleScope| rootContext | property |
rootContext:Context [read-only] The root Context of this scope.
public function get rootContext():Context| uuid | property |
uuid:String [read-only] The unique id of the scope.
public function get uuid():String| DefaultScopeInfo | () | Constructor |
public function DefaultScopeInfo(scopeDef:ScopeDefinition, rootContext:Context, settings:MessageSettings, extensions:Dictionary, domainManager:GlobalDomainManager)Creates a new instance.
ParametersscopeDef:ScopeDefinition — the definition of the scope
| |
rootContext:Context — the root Context for this scope
| |
settings:MessageSettings — the message settings this scope should use
| |
extensions:Dictionary — the extensions registered for this scope mapped by type (Class)
| |
domainManager:GlobalDomainManager — the manager that keeps track of all ApplicationDomains currently used by one or more Contexts
|
| addActiveCommand | () | method |
public function addActiveCommand(command:Command):voidAdds an actice command to the command manager of this scope. As the CommandManager is a public API it does not contain a comparable method itself.
Parameters
command:Command |
| getLifecycleObserverCache | () | method |
public function getLifecycleObserverCache(type:ClassInfo):MessageReceiverCacheReturns the cache of lifecycle observers for the specified object type. If no cache for that type exists yet, implementations should create and return a new cache instance.
Parameters
type:ClassInfo — the object type to return the observer cache for
|
MessageReceiverCache — the cache of lifecycle observers for the specified object type
|
| getMessageReceiverCache | () | method |
public function getMessageReceiverCache(type:ClassInfo):MessageReceiverCacheReturns the cache of message receivers for the specified message type. If no cache for that type exists yet, implementations should create and return a new cache instance.
Parameters
type:ClassInfo — the message type to return the receiver cache for
|
MessageReceiverCache — the cache of message receivers for the specified message type
|