| Package | com.adobe.livecycle.assetmanager.client.service |
| Class | public final class ServiceLocator |
| Inheritance | ServiceLocator Object |
Deprecated: Deprecated
| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Public Properties
Public Methods
| Method | Defined By | ||
|---|---|---|---|
Constructor. | ServiceLocator | ||
Retrieves a DataService service by destinationName. | ServiceLocator | ||
[static] Returns the singleton instance of this class. | ServiceLocator | ||
![]() |
Indicates whether an object has a specified property defined. | Object | |
![]() |
Indicates whether an instance of the Object class is in the prototype chain of the object specified
as the parameter. | Object | |
![]() |
Indicates whether the specified property exists and is enumerable. | Object | |
Disconnects the channels for all existing data services and resets the cache for the data service instance. | ServiceLocator | ||
![]() |
Sets the availability of a dynamic property for loop operations. | Object | |
![]() |
Returns the string representation of this object, formatted according to locale-specific conventions. | Object | |
![]() |
Returns the string representation of the specified object. | Object | |
![]() |
Returns the primitive value of the specified object. | Object | |
Constructor Detail
ServiceLocator | () | Constructor |
public function ServiceLocator()| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, 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
getDataService | () | method |
public function getDataService(destinationName:String):DataService| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Retrieves a DataService service by destinationName.
Parameters
destinationName:String — The destinationName of the DataService to retrieve.
|
DataService — The DataService requested.
|
getInstance | () | method |
public static function getInstance():ServiceLocator| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the singleton instance of this class.
ReturnsServiceLocator — The ServiceLocator instance.
|
reset | () | method |
public function reset():void| Language Version: | ActionScript 3.0 |
| Product Version: | Asset Manager Building Block 9.5 |
| Runtime Versions: | AIR 1.0, Flash Player 9, Flash Player 10 |
Disconnects the channels for all existing data services and resets the cache for the data service instance.
Mon Nov 28 2011, 06:48 AM -08:00
Hide Inherited Public Properties
Show Inherited Public Properties