Package | org.spicefactory.parsley.core.state.manager.impl |
Class | public class DefaultGlobalContextManager |
Inheritance | DefaultGlobalContextManager Object |
Implements | GlobalContextManager |
Method | Defined By | ||
---|---|---|---|
Adds the specified Context to the manager and stores the associated bootstrap instances to be used
for child Context construction. | DefaultGlobalContextManager | ||
Returns the bootstrap configuration for the specified Context instance. | DefaultGlobalContextManager | ||
getInheritedScopes(context:Context):Array
Returns the inherited scopes for the specified Context instance. | DefaultGlobalContextManager |
addContext | () | method |
public function addContext(context:Context, config:BootstrapConfig, scopes:ScopeInfoRegistry):void
Adds the specified Context to the manager and stores the associated bootstrap instances to be used for child Context construction.
Parameters
context:Context — the Context instance
| |
config:BootstrapConfig — the configuration for the Context
| |
scopes:ScopeInfoRegistry — the scopes available in the Context
|
getBootstrapConfig | () | method |
public function getBootstrapConfig(context:Context):BootstrapConfig
Returns the bootstrap configuration for the specified Context instance.
Parameters
context:Context — the Context to return the bootstrap configuration for
|
BootstrapConfig — the bootstrap configuration for the specified Context instance
|
getInheritedScopes | () | method |
public function getInheritedScopes(context:Context):Array
Returns the inherited scopes for the specified Context instance.
Parameters
context:Context — the Context to return the inherited scopes for
|
Array — the inherited scopes for the specified Context instance
|