| Package | org.spicefactory.parsley.lifecycle.processor |
| Class | public class DestroyMethodProcessor |
| Inheritance | DestroyMethodProcessor Object |
| Implements | MethodProcessor |
| Method | Defined By | ||
|---|---|---|---|
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context. | DestroyMethodProcessor | ||
init(target:ManagedObject):void
Invoked during initialization of the target instance. | DestroyMethodProcessor | ||
targetMethod(method:Method):void
Sets the target method for this processor. | DestroyMethodProcessor | ||
| 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
|
| targetMethod | () | method |
public function targetMethod(method:Method):voidSets the target method for this processor.
Parameters
method:Method — the target method for this processor
|