| Package | org.spicefactory.parsley.core.processor |
| Interface | public interface ObjectProcessor |
| Implementors | DynamicPropertyProcessor |
init method usually
sets properties, registers message receivers or performs similar configuration
tasks for a target object.
If the container should manage a separate processor instance for each target instance
the processor also has to implement the StatefulProcessor interface.
| Method | Defined By | ||
|---|---|---|---|
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context. | ObjectProcessor | ||
init(target:ManagedObject):void
Invoked during initialization of the target instance. | ObjectProcessor | ||
| destroy | () | method |
public function destroy(target:ManagedObject):voidInvoked when the target instance gets removed from the Context. Implementations will usually unregister message receivers, unwatch bindings, remove listeners or perform similar disposal tasks.
Parameters
target:ManagedObject — the target instance that is getting removed from the Context
|
| init | () | method |
public function init(target:ManagedObject):voidInvoked during initialization of the target instance. Implementations will usually set properties, registers message receivers or performs similar configuration tasks for the target instance managed by this processor.
Parameters
target:ManagedObject — the target instance that is getting initialized
|