| Package | org.spicefactory.parsley.processor.resources |
| Class | public class ResourceBindingProcessor |
| Inheritance | ResourceBindingProcessor Object |
| Implements | ObjectProcessor |
| Property | Defined By | ||
|---|---|---|---|
| adapterClass : Class [static]
The type of the adapter to use. | ResourceBindingProcessor | ||
| Method | Defined By | ||
|---|---|---|---|
Creates a new processor instance. | ResourceBindingProcessor | ||
[static]
Creates a new processor factory. | ResourceBindingProcessor | ||
postDestroy():void
Invoked after the destroy method of the target instance has been invoked. | ResourceBindingProcessor | ||
preInit():void
Invoked before the init method of the target instance will be invoked. | ResourceBindingProcessor | ||
| adapterClass | property |
public static var adapterClass:ClassThe type of the adapter to use. The processor need to adapt to either the Flex ResourceManager or the Parsley Flash ResourceManager.
| ResourceBindingProcessor | () | Constructor |
public function ResourceBindingProcessor(target:ManagedObject, property:Property, key:String, bundle:String)Creates a new processor instance.
Parameterstarget:ManagedObject — the target instance to inject the resource into
| |
property:Property — the target property to inject the resource into
| |
key:String — the key for the resource
| |
bundle:String — the bundle name
|
| newFactory | () | method |
public static function newFactory(property:Property, key:String, bundle:String):ObjectProcessorFactoryCreates a new processor factory.
Parameters
property:Property — the target property to inject the resource into
| |
key:String — the key for the resource
| |
bundle:String — the bundle name
|
ObjectProcessorFactory — a new processor factory
|
| postDestroy | () | method |
public function postDestroy():voidInvoked after the destroy method of the target instance has been invoked. Implementations will usually unregister message receivers, unwatch bindings, remove listeners or perform similar disposal tasks.
| preInit | () | method |
public function preInit():voidInvoked before the init method of the target instance will be invoked. Implementations will usually set properties, registers message receivers or performs similar configuration tasks for the target instance managed by this processor.