Packageorg.mymvc
Classpublic class AbstractServices
ImplementsIServices

Used to manage all services defined on the IServiceLocator instance.



Public Methods
 MethodDefined by
  
getService(name:String):Object
Return the service with the given name.
AbstractServices
  
logout():void
Log the user out of all registered services.
AbstractServices
  
register(serviceLocator:IServiceLocator):void
Register the services.
AbstractServices
  
setCredentials(username:String, password:String):void
Set the credentials for all registered services.
AbstractServices
  
setRemoteCredentials(username:String, password:String):void
Set the remote credentials for all registered services.
AbstractServices
Protected Methods
 MethodDefined by
  
getAccessors(serviceLocator:IServiceLocator):XMLList
Return all the accessors on this object.
AbstractServices
Method detail
getAccessors()method
protected function getAccessors(serviceLocator:IServiceLocator):XMLList

Return all the accessors on this object.

Parameters
serviceLocator:IServiceLocator — the IServiceLocator instance.

Returns
XMLList — this object's accessors.
getService()method 
public function getService(name:String):Object

Return the service with the given name.

Parameters
name:String — the name of the service.

Returns
Object — the service.
logout()method 
public function logout():void

Log the user out of all registered services.

register()method 
public function register(serviceLocator:IServiceLocator):void

Register the services.

Parameters
serviceLocator:IServiceLocator — the IServiceLocator isntance.
setCredentials()method 
public function setCredentials(username:String, password:String):void

Set the credentials for all registered services.

Parameters
username:String — the username to set.
 
password:String — the password to set.
setRemoteCredentials()method 
public function setRemoteCredentials(username:String, password:String):void

Set the remote credentials for all registered services.

Parameters
username:String — the username to set.
 
password:String — the password to set.