Package org.puremvc.java.multicore.interfaces

Examples of org.puremvc.java.multicore.interfaces.ICommand


   *            an <code>INotification</code>
   */
  public void executeCommand(INotification note) {
    //No reflexion in GWT
    //ICommand commandInstance = (ICommand) commandClassRef.newInstance();
    ICommand commandInstance = (ICommand) this.commandMap.get(note.getName());
    if(commandInstance!=null){
      commandInstance.initializeNotifier(multitonKey);
      commandInstance.execute(note);
    }
  }
View Full Code Here

TOP

Related Classes of org.puremvc.java.multicore.interfaces.ICommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.