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

ServiceLocator  - AS3 Review, Commenting, and Approval

Packagecom.adobe.livecycle.rca.service
Classpublic class ServiceLocator
InheritanceServiceLocator Inheritance Object
Deprecated since Review, Commenting, and Approval 10: Please Use com.adobe.solutions.rca.services.impl.ServiceLocator

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Singleton helper for defining, locating, and working with various types of services. This is a simplified version of the com.adobe.cairngorm.business.ServiceLocator class. Use it instead of including Cairngorm as a dependency for this project for this class only.



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
  COMBINE_MULTIPLE_DOCUMENTS_RO : String = "ReviewCommentingAndApproval/processes/util/CombineMultipleDocuments"
[static] Specifies the name of the process that combines multiple documents.
ServiceLocator
  MANAGED_REVIEW_AND_APPROVAL_SERVICE_RO : String = "ReviewCommentingAndApprovalService"
[static] Specifies the name of the service.
ServiceLocator
  MANAGED_REVIEW_AND_APPROVAL_UTIL_RO : String = "ReviewCommentingAndApprovalUtil"
[static] Specifies the name of the building block utility service.
ServiceLocator
  SERVICELOCATOR_RO : String = "serviceLocator"
[static] Specifies the value for the service locator.
ServiceLocator
Constructor Detail

ServiceLocator

()Constructor
public function ServiceLocator()

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

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: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Returns the singleton instance of this class.

Returns
ServiceLocator

getRemoteObject

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

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Retrieves a RemoteObject service by name.

Parameters

name:String — The name of RemoteObject to retrieve.

Returns
RemoteObject — The RemoteObject requested. Null if a remote object service with the specified name is not registered.
Constant Detail

COMBINE_MULTIPLE_DOCUMENTS_RO

Constant
public static const COMBINE_MULTIPLE_DOCUMENTS_RO:String = "ReviewCommentingAndApproval/processes/util/CombineMultipleDocuments"

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Specifies the name of the process that combines multiple documents.

MANAGED_REVIEW_AND_APPROVAL_SERVICE_RO

Constant 
public static const MANAGED_REVIEW_AND_APPROVAL_SERVICE_RO:String = "ReviewCommentingAndApprovalService"

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Specifies the name of the service.

MANAGED_REVIEW_AND_APPROVAL_UTIL_RO

Constant 
public static const MANAGED_REVIEW_AND_APPROVAL_UTIL_RO:String = "ReviewCommentingAndApprovalUtil"

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Specifies the name of the building block utility service.

SERVICELOCATOR_RO

Constant 
public static const SERVICELOCATOR_RO:String = "serviceLocator"

Language Version: ActionScript 3.0
Product Version: Review, Commenting, and Approval Building Block 9.5
Runtime Versions: Flash Player 9, Flash Player 10, AIR (unsupported)

Specifies the value for the service locator.