| Package | org.spicefactory.parsley.binding.processor |
| Class | public class PersistentPublisherProcessor |
| Inheritance | PersistentPublisherProcessor Object |
| Implements | PropertyProcessor, StatefulProcessor |
| Method | Defined By | ||
|---|---|---|---|
PersistentPublisherProcessor(scope:String, id:String = null, persistentKey:Object = null)
Creates a new instance. | PersistentPublisherProcessor | ||
Creates a clone of this processor by omitting all
internal state that is tied to one particular target instance. | PersistentPublisherProcessor | ||
destroy(target:ManagedObject):void
Invoked when the target instance gets removed from the Context. | PersistentPublisherProcessor | ||
init(target:ManagedObject):void
Invoked during initialization of the target instance. | PersistentPublisherProcessor | ||
targetProperty(property:Property):void
Sets the target property for this processor. | PersistentPublisherProcessor | ||
| PersistentPublisherProcessor | () | Constructor |
public function PersistentPublisherProcessor(scope:String, id:String = null, persistentKey:Object = null)Creates a new instance.
Parametersscope:String — the scope the property value is published to
| |
id:String (default = null) — the id the value is published with to the BindingManager
| |
persistentKey:Object (default = null) — the key the value is passed with to the PersistenceManager
|
| clone | () | method |
public function clone():StatefulProcessorCreates 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):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
|
| targetProperty | () | method |
public function targetProperty(property:Property):voidSets the target property for this processor.
Parameters
property:Property — the target property for this processor
|