public function ServiceLocator()
public function getConsumer(serviceId:String):Consumer
Return the message Consumer for the given service id.
Parameters
| serviceId:String — the service id.
|
Returns
| Consumer — the RemoteObject.
|
public function getDataService(serviceId:String):DataService
Return the DataService for the given service id.
Parameters
| serviceId:String — the service id.
|
Returns
| DataService — the RemoteObject.
|
public function getHTTPService(serviceId:String):HTTPService
Return the HTTPService for the given service id.
Parameters
| serviceId:String — the service id.
|
Returns
| HTTPService — the RemoteObject.
|
public static function getInstance():ServiceLocator
Return the ServiceLocator instance.
Returns
public function getInvokerService(serviceId:String):AbstractInvoker
Parameters
| serviceId:String — id of the service to be returned. This is the id defined in the
concrete service locator implementation.
|
Returns
public function getProducer(serviceId:String):Producer
Return the message Produce for the given service id.
Parameters
| serviceId:String — the service id.
|
Returns
| Producer — the RemoteObject.
|
public function getRemoteObject(serviceId:String):RemoteObject
Return the RemoteObject for the given service id.
Parameters
| serviceId:String — the service id.
|
Returns
| RemoteObject — the RemoteObject.
|
public function getService(serviceId:String):AbstractService
Parameters
| serviceId:String — id of the service to be returned. This is the id defined in the
concrete service locator implementation.
|
Returns
public function getWebService(serviceId:String):WebService
Return the WebService for the given service id.
Parameters
| serviceId:String — the service id.
|
Returns
| WebService — the RemoteObject.
|
public function logout():void
Logs the user out of all registered services.
public function setCredentials(username:String, password:String):void
Set 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.
Parameters
| username:String — the username to set.
|
| |
| password:String — the password to set.
|
Fri Oct 13 2006, 2:27 PM GMT+01:00