| Package | com.adobe.cairngorm.business |
| Class | public class ServiceLocator |
| Implements | IServiceLocator |
| Method | Defined by | ||
|---|---|---|---|
| ServiceLocator | |||
|
getHTTPService(name:String):HTTPService
Return the HTTPService for the given name.
| ServiceLocator | ||
|
[static]
Return the ServiceLocator instance.
| ServiceLocator | ||
|
getRemoteObject(name:String):RemoteObject
Return the RemoteObject for the given name.
| ServiceLocator | ||
|
getWebService(name:String):WebService
Return the WebService for the given name.
| ServiceLocator | ||
|
logout():void
Logs the user out of all registered services.
| ServiceLocator | ||
|
setCredentials(username:String, password:String):void
Set the credentials for all registered services.
| ServiceLocator | ||
|
setRemoteCredentials(username:String, password:String):void
Set the remote credentials for all registered services.
| ServiceLocator | ||
| ServiceLocator | () | constructor |
public function ServiceLocator()
| getHTTPService | () | method |
public function getHTTPService(name:String):HTTPServiceReturn the HTTPService for the given name.
Parametersname:String — the name of the HTTPService
|
HTTPService — the HTTPService.
|
| getInstance | () | method |
public static function getInstance():ServiceLocatorReturn the ServiceLocator instance.
ReturnsServiceLocator —
the instance.
|
| getRemoteObject | () | method |
public function getRemoteObject(name:String):RemoteObjectReturn the RemoteObject for the given name.
Parametersname:String — the name of the RemoteObject.
|
RemoteObject — the RemoteObject.
|
| getWebService | () | method |
public function getWebService(name:String):WebServiceReturn the WebService for the given name.
Parametersname:String — the name of the WebService.
|
WebService — the WebService.
|
| logout | () | method |
public function logout():voidLogs the user out of all registered services.
| setCredentials | () | method |
public function setCredentials(username:String, password:String):voidSet the credentials for all registered services.
Parametersusername:String — the username to set.
|
|
password:String — the password to set.
|
| setRemoteCredentials | () | method |
public function setRemoteCredentials(username:String, password:String):voidSet the remote credentials for all registered services.
Parametersusername:String — the username to set.
|
|
password:String — the password to set.
|