Packageorg.servebox.foundry.service
Classpublic class AbstractBusinessDelegate
ImplementsIBusinessDelegate

BusinessDelegate design pattern implementation. The business delegates reduce coupling between the application controller / subcontrollers and the remote service.



Protected Properties
 PropertyDefined by
  logger : ILogger
[static] The class logger.
AbstractBusinessDelegate
Public Methods
 MethodDefined by
  
AbstractBusinessDelegate(service:Object = null)
Creates a new AbstractBusinessDelegate object.
AbstractBusinessDelegate
  
getService():Object
Retrieves the reference to the associated service.
AbstractBusinessDelegate
  
setService(service:Object):void
Sets the associated service ( RemoteObject, WebService, HTTPService ).
AbstractBusinessDelegate
Protected Methods
 MethodDefined by
  
linkResponderToCallToken(token:AsyncToken, responder:IBusinessResponder):void
Links a responder to a service call.
AbstractBusinessDelegate
Property detail
loggerproperty
protected static var logger:ILogger

The class logger.

Constructor detail
AbstractBusinessDelegate()constructor
public function AbstractBusinessDelegate(service:Object = null)

Creates a new AbstractBusinessDelegate object.

Parameters
service:Object (default = null)
Method detail
getService()method
public function getService():Object

Retrieves the reference to the associated service.

Returns
Object
linkResponderToCallToken()method 
protected function linkResponderToCallToken(token:AsyncToken, responder:IBusinessResponder):void

Links a responder to a service call.

Parameters
token:AsyncToken
 
responder:IBusinessResponder
setService()method 
public function setService(service:Object):void

Sets the associated service ( RemoteObject, WebService, HTTPService ). to the delegate

Parameters
service:Object