套件 | com.adobe.livecycle.assetmanager.client.service |
類別 | public final class ServiceLocator |
繼承 | ServiceLocator ![]() |
已不建議使用: 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, 03:47 PM Z