Packageorg.spicefactory.parsley.core.state.manager.impl
Classpublic class DefaultGlobalObjectManager
InheritanceDefaultGlobalObjectManager Inheritance Object
Implements GlobalObjectManager

Default implementation of the GlobalObjectManager interface.



Public Properties
 PropertyDefined By
  publicState : GlobalObjectState
[read-only] The state information for all mamnaged objects in a read-only format to be exposed to applications.
DefaultGlobalObjectManager
Public Methods
 MethodDefined By
  
Adds the specified object to this manager
DefaultGlobalObjectManager
  
Returns the ManagedObject instance that holds the specified object or null if the object is not managed by any Context currently.
DefaultGlobalObjectManager
  
Removes the specified object from this manager
DefaultGlobalObjectManager
Property Detail
publicStateproperty
publicState:GlobalObjectState  [read-only]

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


Implementation
    public function get publicState():GlobalObjectState
Method Detail
addManagedObject()method
public function addManagedObject(mo:ManagedObject):void

Adds the specified object to this manager

Parameters

mo:ManagedObject — the managed object to add

getManagedObject()method 
public function getManagedObject(instance:Object):ManagedObject

Returns the ManagedObject instance that holds the specified object or null if the object is not managed by any Context currently.

Parameters

instance:Object — the object to return the corresponding ManagedObject instance for

Returns
ManagedObject — the ManagedObject instance that holds the specified object
removeManagedObject()method 
public function removeManagedObject(mo:ManagedObject):void

Removes the specified object from this manager

Parameters

mo:ManagedObject — the managed object to remove