Packageorg.springextensions.actionscript.cairngorm.business
SVN browsingBusinessDelegateFactory.as
FisheyeBusinessDelegateFactory.as
Classpublic class BusinessDelegateFactory
ImplementsIBusinessDelegateFactory

Business delegate factory.



Documentation reference: the delegate factory


Public Properties
 PropertyDefined by
  delegateClass : Class
[write-only] The type of the delegate that the current IBusinessDelegateFactory is able to create.
BusinessDelegateFactory
  responder : IResponder
[write-only] The IResponder instance that will be injected into every delegate that the current IBusinessDelegateFactory creates.
BusinessDelegateFactory
  service : *
[write-only] The service object that will be injected into every delegate that the current IBusinessDelegateFactory creates.
BusinessDelegateFactory
Public Methods
 MethodDefined by
  
Creates a new BusinessDelegateFactory instance.
BusinessDelegateFactory
  
Returns a fully configured delegate instance of the type specified by the delegateClass property.
BusinessDelegateFactory
Property detail
delegateClassproperty
delegateClass:Class  [write-only]

The type of the delegate that the current IBusinessDelegateFactory is able to create.

Implementation
    public function set delegateClass(value:Class):void
responderproperty 
responder:IResponder  [write-only]

The IResponder instance that will be injected into every delegate that the current IBusinessDelegateFactory creates.

Implementation
    public function set responder(value:IResponder):void
serviceproperty 
service:*  [write-only]

The service object that will be injected into every delegate that the current IBusinessDelegateFactory creates.

Implementation
    public function set service(value:*):void
Constructor detail
BusinessDelegateFactory()constructor
public function BusinessDelegateFactory()

Creates a new BusinessDelegateFactory instance.

Method detail
createBusinessDelegate()method
public function createBusinessDelegate():IBusinessDelegate

Returns a fully configured delegate instance of the type specified by the delegateClass property.

Returns
IBusinessDelegate