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.prm.services.impl 

ServiceLocator  - AS3 Project Management

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Singleton helper for defining, locating, and working with project management 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 the class.
ServiceLocator
  
This method 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
  PROJECT_MANAGEMENT_CORE_SERVICE_RO : String = "lc.prm.projectManager"
[static] Name of the project management core service.
ServiceLocator
  PROJECT_MANAGEMENT_QUERY_SERVICE_RO : String = "lc.prm.projectQueryService"
[static] Name of the project management query service.
ServiceLocator
  WORKITEM_MANAGEMENT_SERVICE_RO : String = "lc.prm.workItemAssetManager"
[static] Name of the workitem management service.
ServiceLocator
Constructor Detail

ServiceLocator

()Constructor
public function ServiceLocator()

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

The constructor for ServiceLocator class. To get a new ServiceLocator, do not call this constructor. Instead use 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: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Returns the singleton instance of the class.

Returns
ServiceLocator — It returns the singleton instance of the class.

getRemoteObject

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

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

This method retrieves a RemoteObject service by name.

Parameters

name:StringRemoteObject to be retrieved.

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

PROJECT_MANAGEMENT_CORE_SERVICE_RO

Constant
public static const PROJECT_MANAGEMENT_CORE_SERVICE_RO:String = "lc.prm.projectManager"

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the project management core service.

PROJECT_MANAGEMENT_QUERY_SERVICE_RO

Constant 
public static const PROJECT_MANAGEMENT_QUERY_SERVICE_RO:String = "lc.prm.projectQueryService"

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the project management query service.

WORKITEM_MANAGEMENT_SERVICE_RO

Constant 
public static const WORKITEM_MANAGEMENT_SERVICE_RO:String = "lc.prm.workItemAssetManager"

Language Version: ActionScript 3.0
Product Version: Project Management Building Block 10.0
Runtime Versions: Flash Player 10.2, AIR (unsupported)

Name of the workitem management service.