ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
com.adobe.icc.services 

ServiceLocator  - AS3 Asset Composer

Packagecom.adobe.icc.services
Classpublic final class ServiceLocator
InheritanceServiceLocator Inheritance Object

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Singleton helper for defining, locating, and working with various types of services. This is a (very) simplified version of the com.adobe.cairngorm.business.ServiceLocator class to get around having to include Ciarngorm as a dependency on this projects just for this class.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
Public Methods
 MethodDefined By
  
Constructor.
ServiceLocator
  
[static] Returns the singleton instance of this class.
ServiceLocator
  
Retrieves a RemoteObject service by name.
ServiceLocator
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  CATEGORY_SERVICE_RO : String = "lc.icc.dbservices.categoryService"
[static] Specifies the remote object name for the Category Service.
ServiceLocator
  CURRENT_USER_SERVICE_RO : String = "lc.um.es.currentUserService"
[static] Specifies the remote object name for the Current User Service.
ServiceLocator
  DOWNLOAD_SERVICE_RO : String = "lc.icc.dbservices.downloadService"
[static] Specifies the remote object name for the Download Service.
ServiceLocator
  EXPORT_ASSET_SERVICE_RO : String = "lc.icc.dbservices.assetExportService"
[static] Specifies the remote object name for Export asset service.
ServiceLocator
  EXPORT_SERVICE_RO : String = "lc.icc.dbservices.exportDefinitionService"
[static] Export Letter definition
ServiceLocator
  EXTERNALDATA_SERVICE_RO : String = "lc.icc.webapps.externalDataUtil"
[static] Specifies the remote object name for the ExternalData Service.
ServiceLocator
  FLEXCONFIG_SERVICE_RO : String = "lc.icc.webapps.flexConfigurationService"
[static] Specifies the remote object name for the FlexConfiguration Service.
ServiceLocator
  FORM_SERVICE_RO : String = "lc.icc.dbservices.formService"
[static] Specifies the remote object name for the Form Service.
ServiceLocator
  FRAGMENT_LAYOUT_SERVICE_RO : String = "lc.icc.dbservices.fragmentLayoutService"
[static] Specifies the remote object name for the Fragment Layout Service.
ServiceLocator
  LETTERRENDER_SERVICE_RO : String = "lc.icc.renderlib.letterRenderService"
[static] Specifies the remote object name for the Letter Render Service.
ServiceLocator
  LETTER_SERVICE_RO : String = "lc.icc.dbservices.letterService"
[static] Specifies the remote object name for the Letter Service.
ServiceLocator
  MODULERESOLVER_SERVICE_RO : String = "lc.icc.renderlib.dataModuleResolver"
[static] Specifies the remote object name for the Module Resolver Service.
ServiceLocator
  MODULE_SERVICE_RO : String = "lc.icc.dbservices.dataModuleService"
[static] Specifies the remote object name for the DataModule Service.
ServiceLocator
  PORTFOLIORENDER_SERVICE_RO : String = "lc.icc.renderlib.portfolioRenderService"
[static] Specifies the remote object name for the Portfolio Render Service.
ServiceLocator
  SERVICELOCATOR_SERVICE_RO : String = "lc.icc.renderlib.serviceLocator"
[static] Specifies the remote object name for the ServiceLocator Service.
ServiceLocator
Constructor Detail

ServiceLocator

()Constructor
public function ServiceLocator()

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Constructor. Do not call this to get a new ServiceLocator. Use the getInstance() function instead.


Throws
Error — ServiceLocator class is a singleton.
Method Detail

getInstance

()method
public static function getInstance():ServiceLocator

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Returns the singleton instance of this class.

Returns
ServiceLocator — the singleton instance of ServiceLocator.

getRemoteObject

()method 
public function getRemoteObject(name:String):RemoteObject

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Retrieves a RemoteObject service by name.

Parameters

name:String — The name of the RemoteObject to retrieve.

Returns
RemoteObject — The RemoteObject requested or null if a remote object service isn't registered with the specified name.
Constant Detail

CATEGORY_SERVICE_RO

Constant
public static const CATEGORY_SERVICE_RO:String = "lc.icc.dbservices.categoryService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Category Service.

CURRENT_USER_SERVICE_RO

Constant 
public static const CURRENT_USER_SERVICE_RO:String = "lc.um.es.currentUserService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Current User Service.

DOWNLOAD_SERVICE_RO

Constant 
public static const DOWNLOAD_SERVICE_RO:String = "lc.icc.dbservices.downloadService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Download Service.

EXPORT_ASSET_SERVICE_RO

Constant 
public static const EXPORT_ASSET_SERVICE_RO:String = "lc.icc.dbservices.assetExportService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Specifies the remote object name for Export asset service.

EXPORT_SERVICE_RO

Constant 
public static const EXPORT_SERVICE_RO:String = "lc.icc.dbservices.exportDefinitionService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Export Letter definition

EXTERNALDATA_SERVICE_RO

Constant 
public static const EXTERNALDATA_SERVICE_RO:String = "lc.icc.webapps.externalDataUtil"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the ExternalData Service.

FLEXCONFIG_SERVICE_RO

Constant 
public static const FLEXCONFIG_SERVICE_RO:String = "lc.icc.webapps.flexConfigurationService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the FlexConfiguration Service.

FORM_SERVICE_RO

Constant 
public static const FORM_SERVICE_RO:String = "lc.icc.dbservices.formService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Form Service.

FRAGMENT_LAYOUT_SERVICE_RO

Constant 
public static const FRAGMENT_LAYOUT_SERVICE_RO:String = "lc.icc.dbservices.fragmentLayoutService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 10
Runtime Versions: AIR (unsupported), Flash Player 10.2

Specifies the remote object name for the Fragment Layout Service.

LETTER_SERVICE_RO

Constant 
public static const LETTER_SERVICE_RO:String = "lc.icc.dbservices.letterService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Letter Service.

LETTERRENDER_SERVICE_RO

Constant 
public static const LETTERRENDER_SERVICE_RO:String = "lc.icc.renderlib.letterRenderService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Letter Render Service.

MODULE_SERVICE_RO

Constant 
public static const MODULE_SERVICE_RO:String = "lc.icc.dbservices.dataModuleService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the DataModule Service.

MODULERESOLVER_SERVICE_RO

Constant 
public static const MODULERESOLVER_SERVICE_RO:String = "lc.icc.renderlib.dataModuleResolver"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Module Resolver Service.

PORTFOLIORENDER_SERVICE_RO

Constant 
public static const PORTFOLIORENDER_SERVICE_RO:String = "lc.icc.renderlib.portfolioRenderService"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the Portfolio Render Service.

SERVICELOCATOR_SERVICE_RO

Constant 
public static const SERVICELOCATOR_SERVICE_RO:String = "lc.icc.renderlib.serviceLocator"

Language Version: ActionScript 3.0
Product Version: Asset Composer Building Block 9.5
Runtime Versions: AIR (unsupported), Flash Player 9, Flash Player 10

Specifies the remote object name for the ServiceLocator Service.