Packageorg.spicefactory.parsley.rpc.cinnamon.config
Classpublic class ServiceProcessor
InheritanceServiceProcessor Inheritance Object
Implements ObjectProcessor

Processes a service and creates the proxy for the corresponding channel.



Public Methods
 MethodDefined By
  
ServiceProcessor(target:ManagedObject, name:String, channel:String, timeout:uint)
Creates a new instance.
ServiceProcessor
  
newFactory(name:String, channel:String, timeout:uint):ObjectProcessorFactory
[static] Creates a new processor factory.
ServiceProcessor
  
Invoked after the destroy method of the target instance has been invoked.
ServiceProcessor
  
preInit():void
Invoked before the init method of the target instance will be invoked.
ServiceProcessor
Constructor Detail
ServiceProcessor()Constructor
public function ServiceProcessor(target:ManagedObject, name:String, channel:String, timeout:uint)

Creates a new instance.

Parameters
target:ManagedObject — the target service object
 
name:String — the name to register the service with
 
channel:String — the id of the channel to use for this service
 
timeout:uint — the timeout to apply
Method Detail
newFactory()method
public static function newFactory(name:String, channel:String, timeout:uint):ObjectProcessorFactory

Creates a new processor factory.

Parameters

name:String — the name to register the service with
 
channel:String — the id of the channel to use for this service
 
timeout:uint — the timeout to apply

Returns
ObjectProcessorFactory — a new processor factory
postDestroy()method 
public function postDestroy():void

Invoked 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():void

Invoked 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.