| Package | com.adobe.cairngorm.business |
| Interface | public interface IServiceLocator |
| Implementors | ServiceLocator |
| Method | Defined by | ||
|---|---|---|---|
|
getHTTPService(name:String):HTTPService
Return the HTTPService for the given service id.
| IServiceLocator | ||
|
getRemoteObject(name:String):RemoteObject
Return the RemoteObject for the given service id.
| IServiceLocator | ||
|
getWebService(name:String):WebService
Return the WebService for the given service id.
| IServiceLocator | ||
|
logout():void
Logs the user out of all registered services.
| IServiceLocator | ||
|
setCredentials(username:String, password:String):void
Set the credentials for all registered services.
| IServiceLocator | ||
|
setRemoteCredentials(username:String, password:String):void
Set the remote credentials for all registered services.
| IServiceLocator | ||
| getHTTPService | () | method |
public function getHTTPService(name:String):HTTPServiceReturn the HTTPService for the given service id.
Parametersname:String — the name of the HTTPService.
|
HTTPService — the RemoteObject.
|
| getRemoteObject | () | method |
public function getRemoteObject(name:String):RemoteObjectReturn the RemoteObject for the given service id.
Parametersname:String — the name of the RemoteObject.
|
RemoteObject — the RemoteObject.
|
| getWebService | () | method |
public function getWebService(name:String):WebServiceReturn the WebService for the given service id.
Parametersname:String — the name of the WebService.
|
WebService — the RemoteObject.
|
| 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. Note that services that use a proxy or a third-party adapter to a remote endpoint will need to setRemoteCredentials instead.
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.
|