Package | org.spicefactory.parsley.messaging.processor |
Class | public class ManagedEventsProcessor |
Inheritance | ManagedEventsProcessor Object |
Implements | StatefulProcessor |
Method | Defined By | ||
---|---|---|---|
ManagedEventsProcessor(names:Array, scope:String = null)
Creates a new processor instance. | ManagedEventsProcessor | ||
Creates a clone of this processor by omitting all
internal state that is tied to one particular target instance. | ManagedEventsProcessor | ||
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context. | ManagedEventsProcessor | ||
init(target:ManagedObject):void
Invoked during initialization of the target instance. | ManagedEventsProcessor |
ManagedEventsProcessor | () | Constructor |
public function ManagedEventsProcessor(names:Array, scope:String = null)
Creates a new processor instance.
Parametersnames:Array — the target to listen to
| |
scope:String (default = null ) — the event names/types of all events dispatched by the annotated class that should be managed by Parsley
|
clone | () | method |
public function clone():StatefulProcessor
Creates a clone of this processor by omitting all internal state that is tied to one particular target instance.
ReturnsStatefulProcessor — a clone of this processor
|
destroy | () | method |
public function destroy(target:ManagedObject):void
Invoked 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):void
Invoked 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
|