Sha256: 54d76804fde6023a00b763e958a451f41512cad8a2f0897ca7c912bffee54e37

Contents?: true

Size: 925 Bytes

Versions: 2

Compression:

Stored size: 925 Bytes

Contents

package <%= base_package%>.modules.authentication.controller {
	import org.puremvc.as3.multicore.interfaces.INotification;
	import org.puremvc.as3.multicore.utilities.fabrication.patterns.command.SimpleFabricationCommand;
	
	import <%= base_package%>.common.<%= name%>Constants;
	import <%= base_package%>.modules.authentication.model.AuthenticationProxy;
	
	import AuthenticationModule;
	import <%= base_package%>.modules.authentication.view.AuthenticationModuleMediator;		

	public class AuthenticationModuleStartupCommand extends SimpleFabricationCommand {
		
		override public function execute(note:INotification):void {
			trace("starting authentication module")
			registerProxy(new AuthenticationProxy());
			/*registerCommand(FabricationRoutingDemoConstants.RECEIVE_MESSAGE, UpdateMessageCountsCommand);
			*/
			registerMediator(new AuthenticationModuleMediator(note.getBody() as AuthenticationModule));
		}
		
	}
}

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
fabricator-0.0.1 app_generators/pureapp/templates/modules/authentication/controller/authentication_module_startup_command.as
fabricator-0.0.5 app_generators/pureapp/templates/modules/authentication/controller/authentication_module_startup_command.as