Packageorg.spicefactory.parsley.core.state.manager
Interfacepublic interface GlobalScopeManager
Implementors DefaultGlobalScopeManager

Keeps track of all scopes of all the currently active Context instances. Provides only status information without actuall managing the scopes itself (which is the responsibility of the kernel services of each individual Context).

This manager is usually only exposed to the IOC kernel services and can be accessed through a BootstrapInfo instance.



Public Properties
 PropertyDefined By
  publicState : GlobalScopeState
[read-only] The state information for all active scopes in a read-only format to be exposed to applications.
GlobalScopeManager
Public Methods
 MethodDefined By
  
addScope(scope:Scope):void
Adds the specified scope to the manager.
GlobalScopeManager
Property Detail
publicStateproperty
publicState:GlobalScopeState  [read-only]

The state information for all active scopes in a read-only format to be exposed to applications.


Implementation
    public function get publicState():GlobalScopeState
Method Detail
addScope()method
public function addScope(scope:Scope):void

Adds the specified scope to the manager. The scope should be automatically removed from this manager when the root Context of the scope gets destroyed, as the scope is no longer in use after that.

Parameters

scope:Scope — the scope to add to the manager