| Package | com.adobe.cairngorm.business |
| Interface | public interface IServiceLocator |
| Implementors | ServiceLocator |
| Method | Defined by | ||
|---|---|---|---|
|
getConsumer(destinationId:String):Consumer
Return the message Consumer for the given service id.
| IServiceLocator | ||
|
getHTTPService(serviceId:String):HTTPService
Return the HTTPService for the given service id.
| IServiceLocator | ||
|
getProducer(destinationId:String):Producer
Return the message Produce for the given service id.
| IServiceLocator | ||
|
getRemoteObject(serviceId:String):RemoteObject
Return the RemoteObject for the given service id.
| IServiceLocator | ||
|
getWebService(destinationId: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 | ||
| getConsumer | () | method |
public function getConsumer(destinationId:String):ConsumerReturn the message Consumer for the given service id.
ParametersdestinationId:String — the service id.
|
Consumer — the RemoteObject.
|
| getHTTPService | () | method |
public function getHTTPService(serviceId:String):HTTPServiceReturn the HTTPService for the given service id.
ParametersserviceId:String — the service id.
|
HTTPService — the RemoteObject.
|
| getProducer | () | method |
public function getProducer(destinationId:String):ProducerReturn the message Produce for the given service id.
ParametersdestinationId:String — the service id.
|
Producer — the RemoteObject.
|
| getRemoteObject | () | method |
public function getRemoteObject(serviceId:String):RemoteObjectReturn the RemoteObject for the given service id.
ParametersserviceId:String — the service id.
|
RemoteObject — the RemoteObject.
|
| getWebService | () | method |
public function getWebService(destinationId:String):WebServiceReturn the WebService for the given service id.
ParametersdestinationId:String — the service id.
|
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.
|