Adobe® Flex® 4 Language Reference
Hide Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
com.adobe.fiber.services 
IFiberManagingService 
Packagecom.adobe.fiber.services
Interfacepublic interface IFiberManagingService

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

A managing service instance provides generated value objects with a means to retrieve services that may be involved in calculation of properties of the value object. To customize this process, implement this interface and pass the implementation to generated value objects via their managingService property. If an implementation of this interface is not set on a value object, it will lazily create static instances of any service that is required for the calculation of its properties.



Public Methods
 MethodDefined By
  
Retrieves a user provided implementation of a custom service declared in a model.
IFiberManagingService
  
Retrieves a service instance that has been generated and wrapped based on its declaration in a model.
IFiberManagingService
Method Detail

getCustomService

()method
public function getCustomService(name:String):IFiberService

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Retrieves a user provided implementation of a custom service declared in a model.

Parameters

name:String — service name as it appears in the model

Returns
IFiberService — an implementation of the custom service.

getService

()method 
public function getService(name:String):AbstractService

Language Version: ActionScript 3.0
Product Version: LiveCycle Data Services 3
Runtime Versions: Flash Player 9, AIR 1.1

Retrieves a service instance that has been generated and wrapped based on its declaration in a model. Such a service may be a mx.rpc.remoting.RemoteObject, mx.rpc.http.HTTPMultiService, or mx.rpc.soap.WebService.

Parameters

name:String — service name as it appears in the model

Returns
AbstractService — an implementation of the service.