包 | com.adobe.livecycle.assetmanager.client.service |
类 | public final class ServiceLocator |
继承 | ServiceLocator Object |
不推荐使用: Deprecated
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
公共方法
方法 | 由以下参数定义 | ||
---|---|---|---|
Constructor. | ServiceLocator | ||
Retrieves a DataService service by destinationName. | ServiceLocator | ||
[静态] Returns the singleton instance of this class. | ServiceLocator | ||
表示对象是否已经定义了指定的属性。 | Object | ||
表示 Object 类的实例是否在指定为参数的对象的原型链中。 | Object | ||
表示指定的属性是否存在、是否可枚举。 | Object | ||
Disconnects the channels for all existing data services and resets the cache for the data service instance. | ServiceLocator | ||
设置循环操作动态属性的可用性。 | Object | ||
返回此对象的字符串表示形式,其格式设置遵守区域设置特定的约定。 | Object | ||
返回指定对象的字符串表示形式。 | Object | ||
返回指定对象的原始值。 | Object |
构造函数详细信息
ServiceLocator | () | 构造函数 |
public function ServiceLocator()
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Constructor. Do not call this to get a new ServiceLocator. Use the getInstance()
function instead.
引发
Error — ServiceLocator class is a singleton.
|
方法详细信息
getDataService | () | 方法 |
public function getDataService(destinationName:String):DataService
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Retrieves a DataService service by destinationName.
参数
destinationName:String — The destinationName of the DataService to retrieve.
|
DataService — The DataService requested.
|
getInstance | () | 方法 |
public static function getInstance():ServiceLocator
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | AIR 1.0, Flash Player 9, Flash Player 10 |
Returns the singleton instance of this class.
返回ServiceLocator — The ServiceLocator instance.
|
reset | () | 方法 |
public function reset():void
语言版本: | ActionScript 3.0 |
产品版本: | Asset Manager Building Block 9.5 |
运行时版本: | 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.
Tue Jun 12 2018, 11:04 AM Z