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

ServiceLocator  - AS3 Review, Commenting, and Approval

Packagecom.adobe.solutions.rca.services.impl
Classpublic class ServiceLocator
InheritanceServiceLocator Inheritance Object

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

Singleton helper for defining, locating, and working with Review Commenting and Approval services.



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
  
The constructor for ServiceLocator class.
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
  AUDITOR_RO : String = "rca.Auditor"
[static] Name of the auditor service.
ServiceLocator
  REVIEW_COMMENTING_AND_APPROVAL_SERVICE_RO : String = "rca.ReviewAndApprovalService"
[static] Name of the Review Commenting and Approval core service.
ServiceLocator
  REVIEW_COMMENTING_AND_APPROVAL_UTIL_SERVICE_RO : String = "rca.ReviewCommentingAndApprovalUtil"
[static] Name of the Review Commenting and Approval util service.
ServiceLocator
  STAGE_MANAGEMENT_SERVICE_RO : String = "rca.StageManagementService"
[static] Name of the stage management service.
ServiceLocator
Constructor Detail

ServiceLocator

()Constructor
public function ServiceLocator()

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

The constructor for ServiceLocator class. Do not call this to get a new instance of ServiceLocator. Instead use the getInstance function.


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 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Returns the singleton instance of this class.

Returns
ServiceLocator — It returns singleton instance of this class.

getRemoteObject

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

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

Retrieves a RemoteObject service by name.

Parameters

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

Returns
RemoteObject — It returns the requested RemoteObject or null if a remote object service is not registered with the specified name.
Constant Detail

AUDITOR_RO

Constant
public static const AUDITOR_RO:String = "rca.Auditor"

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

Name of the auditor service.

REVIEW_COMMENTING_AND_APPROVAL_SERVICE_RO

Constant 
public static const REVIEW_COMMENTING_AND_APPROVAL_SERVICE_RO:String = "rca.ReviewAndApprovalService"

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

Name of the Review Commenting and Approval core service.

REVIEW_COMMENTING_AND_APPROVAL_UTIL_SERVICE_RO

Constant 
public static const REVIEW_COMMENTING_AND_APPROVAL_UTIL_SERVICE_RO:String = "rca.ReviewCommentingAndApprovalUtil"

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

Name of the Review Commenting and Approval util service.

STAGE_MANAGEMENT_SERVICE_RO

Constant 
public static const STAGE_MANAGEMENT_SERVICE_RO:String = "rca.StageManagementService"

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

Name of the stage management service.