Packageorg.granite.tide
Interfacepublic interface IContextManager
ImplementorsContextManager

Interface for context managers



Public Methods
 MethodDefined by
  
addToContextsToDestroy(contextId:String):void
IContextManager
  
destroyComponentInstances(name:String):void
IContextManager
  
destroyContext(contextId:String, force:Boolean = false):void
IContextManager
  
destroyContexts(force:Boolean = false):void
IContextManager
  
IContextManager
  
forEachChildContext(parentContext:BaseContext, callback:Function, token:Object = null):void
IContextManager
  
IContextManager
  
getContext(contextId:String = null, parentContextId:String = null, create:Boolean = true):BaseContext
IContextManager
  
newContext(contextId:String = null, parentContextId:String = null):BaseContext
IContextManager
  
removeFromContextsToDestroy(contextId:String):void
IContextManager
  
unregisterComponent(name:String, component:Object):void
IContextManager
  
updateContextId(previousContextId:String, context:BaseContext):void
IContextManager
Method detail
addToContextsToDestroy()method
public function addToContextsToDestroy(contextId:String):voidParameters
contextId:String
destroyComponentInstances()method 
public function destroyComponentInstances(name:String):voidParameters
name:String
destroyContext()method 
public function destroyContext(contextId:String, force:Boolean = false):voidParameters
contextId:String
 
force:Boolean (default = false)
destroyContexts()method 
public function destroyContexts(force:Boolean = false):voidParameters
force:Boolean (default = false)
destroyFinishedContexts()method 
public function destroyFinishedContexts():void
forEachChildContext()method 
public function forEachChildContext(parentContext:BaseContext, callback:Function, token:Object = null):voidParameters
parentContext:BaseContext
 
callback:Function
 
token:Object (default = null)
getAllContexts()method 
public function getAllContexts():Array

Returns
Array
getContext()method 
public function getContext(contextId:String = null, parentContextId:String = null, create:Boolean = true):BaseContextParameters
contextId:String (default = null)
 
parentContextId:String (default = null)
 
create:Boolean (default = true)

Returns
BaseContext
newContext()method 
public function newContext(contextId:String = null, parentContextId:String = null):BaseContextParameters
contextId:String (default = null)
 
parentContextId:String (default = null)

Returns
BaseContext
removeFromContextsToDestroy()method 
public function removeFromContextsToDestroy(contextId:String):voidParameters
contextId:String
unregisterComponent()method 
public function unregisterComponent(name:String, component:Object):voidParameters
name:String
 
component:Object
updateContextId()method 
public function updateContextId(previousContextId:String, context:BaseContext):voidParameters
previousContextId:String
 
context:BaseContext