Package gri.gridp.modules.managers

Examples of gri.gridp.modules.managers.ModuleManager


 
  /**
   * Creates a local TaskManager for GRIDP tasks
   */
  public TaskManager getTaskManager() {
    ModuleManager moduleManager = getModuleManager();
    RunScriptTask runScript = new RunScriptTask(scriptFile, execCmd);
    return new GridpTaskManager(moduleManager, runScript);
  }
View Full Code Here


   * Creates an SSH TaskManager to run GRIDP tasks on remote computers
   * over SSH.  The remote computer and login information are provided
   * by the SessionFactory.
   */
  public TaskManager getSshTaskManager(SessionFactory sessionFactory) {
    ModuleManager moduleManager = getModuleManager();
    SshScriptTask runScript = new SshScriptTask(sessionFactory, scriptFile, execCmd);
    return new GridpTaskManager(moduleManager, runScript);
  }
View Full Code Here

    scriptSerializer.write(taskManager.getRunScriptTask(), scriptElem);
    elem.addContent(scriptElem);
  }

  public GridpTaskManager readTaskManager(Element elem) throws IOException {
    ModuleManager moduleManager;
    RunScriptTask runScriptTask;

    Element moduleElem = elem.getChild("modules");
    if (moduleElem == null)
      throw new MissingElementException("modules");
View Full Code Here

TOP

Related Classes of gri.gridp.modules.managers.ModuleManager

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.