| Package | org.spicefactory.parsley.core.scope |
| Interface | public interface ScopeInfo |
| Implementors | DefaultScopeInfo |
| Property | Defined By | ||
|---|---|---|---|
| bindingManager : BindingManager [read-only]
The manager for publishers and subscribers of the decoupled binding facility. | ScopeInfo | ||
| commandManager : CommandManager [read-only]
The manager for active commands in this scope. | ScopeInfo | ||
| extensions : ScopeExtensions [read-only]
The extensions registered for this scope. | ScopeInfo | ||
| inherited : Boolean [read-only]
Indicates whether this scope will be inherited by child Contexts. | ScopeInfo | ||
| lifecycleObservers : LifecycleObserverRegistry [read-only]
The registry for observers of lifecycle events dispatched by objects within this scope. | ScopeInfo | ||
| messageReceivers : MessageReceiverRegistry [read-only]
The registry for receivers of application messages dispatched through this scope. | ScopeInfo | ||
| name : String [read-only]
The name of the scope. | ScopeInfo | ||
| persistenceManager : PersistenceManager [read-only]
The manager for values persisted by publishers. | ScopeInfo | ||
| rootContext : Context [read-only]
The root Context of this scope. | ScopeInfo | ||
| uuid : String [read-only]
The unique id of the scope. | ScopeInfo | ||
| Method | Defined By | ||
|---|---|---|---|
addActiveCommand(command:ObservableCommand):void
Adds an actice command to the command manager of this scope. | ScopeInfo | ||
Returns the cache of message receivers for the specified message type. | ScopeInfo | ||
selectLifecycleObservers(type:ClassInfo, phaseKey:String, id:String = null):Array
Returns all matching observers for the specified target type, id and lifecycle phase. | ScopeInfo | ||
| 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 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| 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 the scope.
public function get uuid():String| addActiveCommand | () | method |
public function addActiveCommand(command:ObservableCommand):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:ObservableCommand |
| 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
|
| selectLifecycleObservers | () | method |
public function selectLifecycleObservers(type:ClassInfo, phaseKey:String, id:String = null):ArrayReturns all matching observers for the specified target type, id and lifecycle phase.
Parameters
type:ClassInfo — the object type to return the observers for
| |
phaseKey:String — the lifecycle phase of the observed object
| |
id:String (default = null) — the id of the observerd object
|
Array — all matching observers
|