| Package | org.spicefactory.parsley.core.scope |
| Interface | public interface Scope |
| Implementors | DefaultScope |
| Property | Defined By | ||
|---|---|---|---|
| bindingManager : BindingManager [read-only]
The manager for publishers and subscribers of the decoupled binding facility. | Scope | ||
| commandManager : CommandManager [read-only]
The manager for active asynchronous commands in this scope. | Scope | ||
| extensions : ScopeExtensions [read-only]
Custom extensions registered for this scope. | Scope | ||
| inherited : Boolean [read-only]
Indicates whether this scope will be inherited by child Contexts. | Scope | ||
| lifecycleObservers : LifecycleObserverRegistry [read-only]
The registry for observers of lifecycle events dispatched by objects within this scope. | Scope | ||
| messageReceivers : MessageReceiverRegistry [read-only]
The registry for receivers of application messages dispatched through this scope. | Scope | ||
| name : String [read-only]
The name of the scope. | Scope | ||
| persistenceManager : PersistenceManager [read-only]
The manager for values persisted by publishers. | Scope | ||
| rootContext : Context [read-only]
The root Context of this scope. | Scope | ||
| uuid : String [read-only]
The unique id of this scope. | Scope | ||
| Method | Defined By | ||
|---|---|---|---|
dispatchMessage(message:Object, selector:*):void
Dispatches a message through this scope. | Scope | ||
| bindingManager | property |
bindingManager:BindingManager [read-only] The manager for publishers and subscribers of the decoupled binding facility.
public function get bindingManager():BindingManager| commandManager | property |
commandManager:CommandManager [read-only] The manager for active asynchronous commands in this scope.
public function get commandManager():CommandManager| extensions | property |
extensions:ScopeExtensions [read-only] Custom 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| persistenceManager | property |
persistenceManager:PersistenceManager [read-only] The manager for values persisted by publishers.
public function get persistenceManager():PersistenceManager| 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 this scope. In small or mid-size projects an id is often not needed, the framework will autogenerate the id in these cases and it can simply be ignored. In a big modular application there may be the need to address one particular scope within the system and the scheme of ids assigned to the scopes is often application-specific. The uid may be used to identify persistent published values or to explicitly route messages.
public function get uuid():String| dispatchMessage | () | method |
public function dispatchMessage(message:Object, selector:*):voidDispatches a message through this scope.
Parameters
message:Object — the message to dispatch
| |
selector:* (default = NaN) — the selector to use if it cannot be determined from the message instance itself
|