Packageorg.spicefactory.parsley.rpc.cinnamon.config
Classpublic class ServiceTag
InheritanceServiceTag Inheritance Object
Implements RootConfigurationElement
Subclasses MxmlServiceTag

Represents the Service MXML or XML tag, defining the configuration for a Cinnamon service.



Public Properties
 PropertyDefined By
  channel : String
The id of the ServiceChannel instance to use for this service.
ServiceTag
  id : String
The id that the service will be registered with in the Parsley IOC Container.
ServiceTag
  name : String
The name of the service as configured on the server-side.
ServiceTag
  timeout : uint = 0
The request timeout in milliseconds.
ServiceTag
  type : Class
The AS3 service implementation (usually generated with Pimentos Ant Task).
ServiceTag
Public Methods
 MethodDefined By
  
process(config:Configuration):void
Processes this configuration tag, possilbly creating and registering object definitions.
ServiceTag
Property Detail
channelproperty
public var channel:String

The id of the ServiceChannel instance to use for this service. Only required if you have more than one channel tag in your Context. If there is only one (like in most use cases) it will be automatically detected.

idproperty 
public var id:String

The id that the service will be registered with in the Parsley IOC Container. Usually no need to be specified explicitly.

nameproperty 
public var name:String

The name of the service as configured on the server-side.

timeoutproperty 
public var timeout:uint = 0

The request timeout in milliseconds.

typeproperty 
public var type:Class

The AS3 service implementation (usually generated with Pimentos Ant Task).

Method Detail
process()method
public function process(config:Configuration):void

Processes this configuration tag, possilbly creating and registering object definitions.

Parameters

config:Configuration — the configuration associated with this element