Packageorg.pranaframework.cairngorm.commands
Interfacepublic interface ICommandFactory
SubinterfacesIResponderCommandFactory
ImplementorsCommandFactory



Public Methods
 MethodDefined by
  
canCreate(clazz:Class):Boolean
ICommandFactory
  
createCommand(clazz:Class):ICommand
Creates a command for the passed command type
ICommandFactory
Method detail
canCreate()method
public function canCreate(clazz:Class):Boolean

Parameters
clazz:Class

Returns
Boolean
createCommand()method 
public function createCommand(clazz:Class):ICommand

Creates a command for the passed command type

Parameters
clazz:Class — The Command Type

Returns
ICommand — The new ICommand instance