Packageorg.spicefactory.parsley.core.state
Interfacepublic interface GlobalObjectState

Global status information about managed objects.



Public Methods
 MethodDefined By
  
getContext(instance:Object):Context
Returns the Context that manages the specified instance or null if the object is not managed by any Context currently.
GlobalObjectState
  
isManaged(instance:Object):Boolean
Indicates whether the specified instance is currently managed by any Context.
GlobalObjectState
Method Detail
getContext()method
public function getContext(instance:Object):Context

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

Parameters

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

Returns
Context — the Context manages the specified instance
isManaged()method 
public function isManaged(instance:Object):Boolean

Indicates whether the specified instance is currently managed by any Context.

Parameters

instance:Object — the instance to check the state for

Returns
Boolean — true if the specified instance is currently managed by any Context