Package | org.spicefactory.parsley.core.state.manager |
Interface | public interface GlobalObjectManager |
Implementors | DefaultGlobalObjectManager |
This manager is usually only exposed to the IOC kernel services and can be accessed through a BootstrapInfo
instance.
Property | Defined By | ||
---|---|---|---|
publicState : GlobalObjectState [read-only]
The state information for all mamnaged objects in a read-only format to be exposed to applications. | GlobalObjectManager |
Method | Defined By | ||
---|---|---|---|
addManagedObject(mo:ManagedObject):void
Adds the specified object to this manager
| GlobalObjectManager | ||
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. | GlobalObjectManager | ||
removeManagedObject(mo:ManagedObject):void
Removes the specified object from this manager
| GlobalObjectManager |
publicState | property |
publicState:GlobalObjectState
[read-only] The state information for all mamnaged objects in a read-only format to be exposed to applications.
public function get publicState():GlobalObjectState
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
|
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
|