Package | org.spicefactory.parsley.core.state |
Interface | public interface GlobalObjectState |
Method | Defined 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 |
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
|
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
|
Boolean — true if the specified instance is currently managed by any Context
|