Package | org.spicefactory.parsley.core.context |
Interface | public interface DynamicObject |
Implementors | DefaultDynamicObject |
Property | Defined By | ||
---|---|---|---|
context : Context [read-only]
The Context that managed this object. | DynamicObject | ||
definition : DynamicObjectDefinition [read-only]
The definition the object was created from or the definition that
was applied to an existing instance. | DynamicObject | ||
instance : Object [read-only]
The actual managed instance. | DynamicObject |
Method | Defined By | ||
---|---|---|---|
remove():void
Removes this object from the Context. | DynamicObject |
context | property |
context:Context
[read-only] The Context that managed this object.
public function get context():Context
definition | property |
definition:DynamicObjectDefinition
[read-only] The definition the object was created from or the definition that was applied to an existing instance.
public function get definition():DynamicObjectDefinition
instance | property |
instance:Object
[read-only] The actual managed instance.
public function get instance():Object
remove | () | method |
public function remove():void
Removes this object from the Context.
This will lead to the regular lifecycle events for objects that
are destroyed like calling the method marked with [Destroy]
on the removed instance. After removal the instance does no longer take
part in the messaging system of the Context.